Gradle: use simpler Kotlin DSL property assignment

https://blog.gradle.org/simpler-kotlin-dsl-property-assignment
This commit is contained in:
Karl Tauber
2024-03-23 13:56:47 +01:00
parent a62dd22f83
commit 55ddac2bc7
9 changed files with 30 additions and 30 deletions

View File

@@ -73,8 +73,8 @@ publishing {
pom {
licenses {
license {
name.set( "SIL OPEN FONT LICENSE Version 1.1" )
url.set( "https://choosealicense.com/licenses/ofl-1.1/" )
name = "SIL OPEN FONT LICENSE Version 1.1"
url = "https://choosealicense.com/licenses/ofl-1.1/"
}
}
}

View File

@@ -73,8 +73,8 @@ publishing {
pom {
licenses {
license {
name.set( "SIL OPEN FONT LICENSE Version 1.1" )
url.set( "https://choosealicense.com/licenses/ofl-1.1/" )
name = "SIL OPEN FONT LICENSE Version 1.1"
url = "https://choosealicense.com/licenses/ofl-1.1/"
}
}
}