Skip to content

Commit efd1332

Browse files
committed
fix license config
1 parent 2e84d46 commit efd1332

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

buildSrc/src/main/java/io.github.sgpublic.exsp/core/_Publishing.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ private fun applyPublishing(project: Project, type: String) {
4040
description.set(projectName)
4141
url.set("https://github.com/sgpublic/ExSharedPreference")
4242
licenses {
43-
name.set("The Apache License, Version 2.0")
44-
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
43+
license {
44+
name.set("The Apache License, Version 2.0")
45+
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
46+
}
4547
}
4648
issueManagement {
4749
system.set("GitHub")

0 commit comments

Comments
 (0)