refactor: renamed variables in build scripts

This commit is contained in:
zihluwang
2024-10-22 22:19:05 +08:00
parent a52cb66197
commit 96787889a6
11 changed files with 135 additions and 66 deletions
+5 -6
View File
@@ -17,15 +17,14 @@
import java.net.URI
val buildGroupId: String by project
val buildVersion: String by project
val artefactVersion: String by project
val projectUrl: String by project
val projectGithubUrl: String by project
val licenseName: String by project
val licenseUrl: String by project
group = buildGroupId
version = buildVersion
group = "com.onixbyte"
version = artefactVersion
java {
sourceCompatibility = JavaVersion.VERSION_17
@@ -41,9 +40,9 @@ tasks.test {
publishing {
publications {
create<MavenPublication>("devkitCore") {
groupId = buildGroupId
groupId = group.toString()
artifactId = "devkit-core"
version = buildVersion
version = artefactVersion
pom {
name = "DevKit - Core"