Skip to content

Commit f77abb3

Browse files
committed
test: gh publish
1 parent 376584f commit f77abb3

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

build.gradle.kts

+21-19
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,27 @@ subprojects {
3232
maven(url = "https://pkg.sourceplus.plus/sourceplusplus/interface-booster-ui")
3333
}
3434

35-
apply(plugin = "app.cash.licensee")
36-
configure<app.cash.licensee.LicenseeExtension> {
37-
ignoreDependencies("plus.sourceplus", "protocol")
38-
ignoreDependencies("plus.sourceplus", "protocol-jvm")
39-
ignoreDependencies("plus.sourceplus.interface", "interface-booster-ui")
40-
allow("Apache-2.0")
41-
allow("MIT")
42-
allow("EPL-1.0")
43-
allow("LGPL-2.1-only")
44-
allowUrl("https://raw.githubusercontent.com/apollographql/apollo-kotlin/main/LICENSE") //MIT
45-
allowUrl("https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html") //LGPL 2.1
46-
allowUrl("https://www.bouncycastle.org/licence.html") //MIT
47-
allowUrl("https://api.github.com/licenses/apache-2.0") //Apache 2.0
48-
allowUrl("http://www.jcraft.com/jsch/LICENSE.txt") //BSD-style
49-
allowUrl("http://www.jcraft.com/jzlib/LICENSE.txt") //BSD-style
50-
allowUrl("http://jgrapht.org/LGPL.html") //LGPL 2.1
51-
allowUrl("http://www.eclipse.org/legal/epl-v20.html") //EPL 2.0
52-
allowDependency("net.jcip", "jcip-annotations", "1.0") {
53-
because("Creative Commons")
35+
if (!this.toString().contains("commander")) {
36+
apply(plugin = "app.cash.licensee")
37+
configure<app.cash.licensee.LicenseeExtension> {
38+
ignoreDependencies("plus.sourceplus", "protocol")
39+
ignoreDependencies("plus.sourceplus", "protocol-jvm")
40+
ignoreDependencies("plus.sourceplus.interface", "interface-booster-ui")
41+
allow("Apache-2.0")
42+
allow("MIT")
43+
allow("EPL-1.0")
44+
allow("LGPL-2.1-only")
45+
allowUrl("https://raw.githubusercontent.com/apollographql/apollo-kotlin/main/LICENSE") //MIT
46+
allowUrl("https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html") //LGPL 2.1
47+
allowUrl("https://www.bouncycastle.org/licence.html") //MIT
48+
allowUrl("https://api.github.com/licenses/apache-2.0") //Apache 2.0
49+
allowUrl("http://www.jcraft.com/jsch/LICENSE.txt") //BSD-style
50+
allowUrl("http://www.jcraft.com/jzlib/LICENSE.txt") //BSD-style
51+
allowUrl("http://jgrapht.org/LGPL.html") //LGPL 2.1
52+
allowUrl("http://www.eclipse.org/legal/epl-v20.html") //EPL 2.0
53+
allowDependency("net.jcip", "jcip-annotations", "1.0") {
54+
because("Creative Commons")
55+
}
5456
}
5557
}
5658

0 commit comments

Comments
 (0)