Skip to content

Commit

Permalink
Merge pull request #78 from kennethshackleton/pom-license
Browse files Browse the repository at this point in the history
Put Zetetic license in Android artifact pom.
  • Loading branch information
kennethshackleton authored Apr 9, 2021
2 parents d57953c + 0676fa9 commit 2587764
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions AndroidLib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ afterEvaluate {
pom {
commonInitialisation(project)
description.set("Selekt Android SQLite library.")
licenses {
license {
name.set("Zetetic LLC")
url.set("https://www.zetetic.net/sqlcipher/license")
}
}
}
artifact("$buildDir/libs/selekt-sources.jar") { classifier = "sources" }
}.also {
Expand Down
4 changes: 1 addition & 3 deletions buildSrc/src/main/kotlin/SelektPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ class SelektPlugin : Plugin<Project> {
}
tasks.withType(Jar::class.java).configureEach {
metaInf {
arrayOf("LICENSE", "SQLCIPHER_LICENSE").forEach {
from("$rootDir/$it")
}
from("$rootDir/LICENSE")
}
}
}
Expand Down

0 comments on commit 2587764

Please sign in to comment.