Skip to content

Commit 31d925d

Browse files
committed
Update build.gradle.kts to use new layout API for local repository URL and correct license url
1 parent 4675a18 commit 31d925d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gradle-plugins/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ subprojects {
5555

5656
maven {
5757
name = "LocalDir"
58-
url = rootProject.buildDir.resolve("repo").toURI()
58+
url = uri(layout.buildDirectory.dir("repo"))
5959
}
6060
}
6161
}
@@ -96,7 +96,7 @@ fun Project.configureMavenPublication(
9696
licenses {
9797
license {
9898
name.set("The Apache License, Version 2.0")
99-
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
99+
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
100100
}
101101
}
102102
}

0 commit comments

Comments
 (0)