gradle: use = instead of .set
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|||||||
+13
-13
@@ -81,30 +81,30 @@ publishing {
|
|||||||
from(components["release"])
|
from(components["release"])
|
||||||
}
|
}
|
||||||
pom {
|
pom {
|
||||||
name.set("WireGuard Tunnel Library")
|
name = "WireGuard Tunnel Library"
|
||||||
description.set("Embeddable tunnel library for WireGuard for Android")
|
description = "Embeddable tunnel library for WireGuard for Android"
|
||||||
url.set("https://www.wireguard.com/")
|
url = "https://www.wireguard.com/"
|
||||||
|
|
||||||
licenses {
|
licenses {
|
||||||
license {
|
license {
|
||||||
name.set("The Apache Software License, Version 2.0")
|
name = "The Apache Software License, Version 2.0"
|
||||||
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
|
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
|
||||||
distribution.set("repo")
|
distribution = "repo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
scm {
|
scm {
|
||||||
connection.set("scm:git:https://git.zx2c4.com/wireguard-android")
|
connection = "scm:git:https://git.zx2c4.com/wireguard-android"
|
||||||
developerConnection.set("scm:git:https://git.zx2c4.com/wireguard-android")
|
developerConnection = "scm:git:https://git.zx2c4.com/wireguard-android"
|
||||||
url.set("https://git.zx2c4.com/wireguard-android")
|
url = "https://git.zx2c4.com/wireguard-android"
|
||||||
}
|
}
|
||||||
developers {
|
developers {
|
||||||
organization {
|
organization {
|
||||||
name.set("WireGuard")
|
name = "WireGuard"
|
||||||
url.set("https://www.wireguard.com/")
|
url = "https://www.wireguard.com/"
|
||||||
}
|
}
|
||||||
developer {
|
developer {
|
||||||
name.set("WireGuard")
|
name = "WireGuard"
|
||||||
email.set("team@wireguard.com")
|
email = "team@wireguard.com"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -89,5 +89,5 @@ tasks.withType<JavaCompile>().configureEach {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<KotlinCompile>().configureEach {
|
tasks.withType<KotlinCompile>().configureEach {
|
||||||
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
|
compilerOptions.jvmTarget = JvmTarget.JVM_17
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user