diff options
author | 2025-05-05 16:45:08 +0200 | |
---|---|---|
committer | 2025-05-08 04:59:37 +0200 | |
commit | fb115b4079717a9e58e51c3791ea8af66431d9ec (patch) | |
tree | 58c83feff9f6a1fe5094761d44ee276165ce1cec | |
parent | gradle: bump deps (diff) | |
download | wireguard-android-fb115b4079717a9e58e51c3791ea8af66431d9ec.tar.xz wireguard-android-fb115b4079717a9e58e51c3791ea8af66431d9ec.zip |
gradle: use = instead of .set
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | settings.gradle.kts | 2 | ||||
-rw-r--r-- | tunnel/build.gradle.kts | 26 | ||||
-rw-r--r-- | ui/build.gradle.kts | 2 |
3 files changed, 15 insertions, 15 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts index 91bc0b90..66a112c9 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -9,7 +9,7 @@ pluginManagement { } dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS repositories { google() mavenCentral() diff --git a/tunnel/build.gradle.kts b/tunnel/build.gradle.kts index 2956395f..db2d9fed 100644 --- a/tunnel/build.gradle.kts +++ b/tunnel/build.gradle.kts @@ -81,30 +81,30 @@ publishing { from(components["release"]) } pom { - name.set("WireGuard Tunnel Library") - description.set("Embeddable tunnel library for WireGuard for Android") - url.set("https://www.wireguard.com/") + name = "WireGuard Tunnel Library" + description = "Embeddable tunnel library for WireGuard for Android" + url = "https://www.wireguard.com/" licenses { license { - name.set("The Apache Software License, Version 2.0") - url.set("http://www.apache.org/licenses/LICENSE-2.0.txt") - distribution.set("repo") + name = "The Apache Software License, Version 2.0" + url = "http://www.apache.org/licenses/LICENSE-2.0.txt" + distribution = "repo" } } scm { - connection.set("scm:git:https://git.zx2c4.com/wireguard-android") - developerConnection.set("scm:git:https://git.zx2c4.com/wireguard-android") - url.set("https://git.zx2c4.com/wireguard-android") + connection = "scm:git:https://git.zx2c4.com/wireguard-android" + developerConnection = "scm:git:https://git.zx2c4.com/wireguard-android" + url = "https://git.zx2c4.com/wireguard-android" } developers { organization { - name.set("WireGuard") - url.set("https://www.wireguard.com/") + name = "WireGuard" + url = "https://www.wireguard.com/" } developer { - name.set("WireGuard") - email.set("team@wireguard.com") + name = "WireGuard" + email = "team@wireguard.com" } } } diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts index 679e7c46..f64c9a8e 100644 --- a/ui/build.gradle.kts +++ b/ui/build.gradle.kts @@ -89,5 +89,5 @@ tasks.withType<JavaCompile>().configureEach { } tasks.withType<KotlinCompile>().configureEach { - compilerOptions.jvmTarget.set(JvmTarget.JVM_17) + compilerOptions.jvmTarget = JvmTarget.JVM_17 } |