Skip to content

Commit c884a01

Browse files
committed
gradle: use = instead of .set
Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 57bd0ec commit c884a01

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pluginManagement {
99
}
1010

1111
dependencyResolutionManagement {
12-
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
12+
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
1313
repositories {
1414
google()
1515
mavenCentral()

tunnel/build.gradle.kts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,30 +81,30 @@ publishing {
8181
from(components["release"])
8282
}
8383
pom {
84-
name.set("WireGuard Tunnel Library")
85-
description.set("Embeddable tunnel library for WireGuard for Android")
86-
url.set("https://www.wireguard.com/")
84+
name = "WireGuard Tunnel Library"
85+
description = "Embeddable tunnel library for WireGuard for Android"
86+
url = "https://www.wireguard.com/"
8787

8888
licenses {
8989
license {
90-
name.set("The Apache Software License, Version 2.0")
91-
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
92-
distribution.set("repo")
90+
name = "The Apache Software License, Version 2.0"
91+
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
92+
distribution = "repo"
9393
}
9494
}
9595
scm {
96-
connection.set("scm:git:https://git.zx2c4.com/wireguard-android")
97-
developerConnection.set("scm:git:https://git.zx2c4.com/wireguard-android")
98-
url.set("https://git.zx2c4.com/wireguard-android")
96+
connection = "scm:git:https://git.zx2c4.com/wireguard-android"
97+
developerConnection = "scm:git:https://git.zx2c4.com/wireguard-android"
98+
url = "https://git.zx2c4.com/wireguard-android"
9999
}
100100
developers {
101101
organization {
102-
name.set("WireGuard")
103-
url.set("https://www.wireguard.com/")
102+
name = "WireGuard"
103+
url = "https://www.wireguard.com/"
104104
}
105105
developer {
106-
name.set("WireGuard")
107-
email.set("[email protected]")
106+
name = "WireGuard"
107+
108108
}
109109
}
110110
}

ui/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,5 @@ tasks.withType<JavaCompile>().configureEach {
8989
}
9090

9191
tasks.withType<KotlinCompile>().configureEach {
92-
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
92+
compilerOptions.jvmTarget = JvmTarget.JVM_17
9393
}

0 commit comments

Comments
 (0)