Skip to content

Commit f561592

Browse files
committed
licensee
1 parent e172911 commit f561592

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

build.gradle.kts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
import java.util.*
22

3+
buildscript {
4+
repositories {
5+
mavenCentral()
6+
}
7+
dependencies {
8+
classpath("app.cash.licensee:licensee-gradle-plugin:1.4.1")
9+
}
10+
}
11+
12+
apply(plugin = "app.cash.licensee")
13+
314
plugins {
415
id("com.diffplug.spotless")
516
id("org.mikeneck.graalvm-native-image")
@@ -56,6 +67,16 @@ dependencies {
5667
testImplementation("org.junit.jupiter:junit-jupiter-engine:$jupiterVersion")
5768
}
5869

70+
configure<app.cash.licensee.LicenseeExtension> {
71+
ignoreDependencies("plus.sourceplus", "protocol")
72+
ignoreDependencies("plus.sourceplus", "protocol-jvm")
73+
allow("Apache-2.0")
74+
allow("MIT")
75+
allowUrl("https://raw.githubusercontent.com/apollographql/apollo-kotlin/main/LICENSE") //MIT
76+
allowUrl("https://raw.githubusercontent.com/auth0/java-jwt/master/LICENSE") //MIT
77+
allowUrl("https://www.bouncycastle.org/licence.html") //MIT
78+
}
79+
5980
//todo: shouldn't need to put in src (github actions needs for some reason)
6081
tasks.create("createProperties") {
6182
if (System.getProperty("build.profile") == "release") {

0 commit comments

Comments
 (0)