Skip to content

Commit

Permalink
build > use = instead of .set()
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Dec 29, 2023
1 parent 7ace40a commit cc8c3e7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ group = "io.github.sgtsilvio.gradle"
description = "Gradle plugin to ease using ProGuard"

metadata {
readableName.set("Gradle ProGuard Plugin")
readableName = "Gradle ProGuard Plugin"
license {
apache2()
}
developers {
register("SgtSilvio") {
fullName.set("Silvio Giebl")
fullName = "Silvio Giebl"
}
}
github {
org.set("SgtSilvio")
org = "SgtSilvio"
issues()
}
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
languageVersion = JavaLanguageVersion.of(8)
}
}

Expand All @@ -36,15 +36,15 @@ repositories {
}

gradlePlugin {
website.set(metadata.url)
vcsUrl.set(metadata.scm.get().url)
website = metadata.url
vcsUrl = metadata.scm.get().url
plugins {
create("proguard") {
id = "$group.$name"
implementationClass = "$group.$name.ProguardPlugin"
displayName = metadata.readableName.get()
description = project.description
tags.set(listOf("proguard", "obfuscation"))
tags = listOf("proguard", "obfuscation")
}
}
}
Expand Down

0 comments on commit cc8c3e7

Please sign in to comment.