Skip to content

Commit 2c1f548

Browse files
Reverted moving group to gradle.properties causing problems with publishToSonatype
1 parent df86a14 commit 2c1f548

File tree

7 files changed

+10
-3
lines changed

7 files changed

+10
-3
lines changed

booter/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import proguard.gradle.ProGuardTask
33
description = "Robocode Tank Royale Booter"
44

55
val title = "Robocode Tank Royale Booter"
6+
group = "dev.robocode.tankroyale"
67
version = libs.versions.tankroyale.get()
78

89
val jarManifestMainClass = "dev.robocode.tankroyale.booter.BooterKt"

bot-api/java/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import java.nio.file.Paths
44
description = "Robocode Tank Royale Bot API for Java"
55

66
val javadocTitle = "Robocode Tank Royale Bot API"
7+
group = "dev.robocode.tankroyale"
78
version = libs.versions.tankroyale.get()
89

910
val artifactBaseName = "robocode-tankroyale-bot-api"

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import build.release.createRelease
33

44
description = "Robocode: Build the best - destroy the rest!"
55

6+
group = "dev.robocode.tankroyale"
67
val version = libs.versions.tankroyale.get()
78

89
val ossrhUsername: String? by project
@@ -20,6 +21,7 @@ plugins {
2021
subprojects {
2122

2223
repositories {
24+
mavenLocal()
2325
mavenCentral()
2426
}
2527

@@ -52,6 +54,7 @@ tasks {
5254
dependsOn("build-release")
5355

5456
doLast {
57+
val version = libs.versions.tankroyale.get()
5558
createRelease(projectDir, version, tankRoyaleGitHubToken!!)
5659
}
5760
}

gradle.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
# The version of Robocode Tank Royale
2-
version=0.21.0
3-
4-
group="dev.robocode.tankroyale"
2+
version=0.21.0

gui-app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import proguard.gradle.ProGuardTask
44
description = "Robocode Tank Royale GUI Application"
55

66
val archiveTitle = "Robocode Tank Royale GUI"
7+
group = "dev.robocode.tankroyale"
78
version = libs.versions.tankroyale.get()
89

910
val jarManifestMainClass = "dev.robocode.tankroyale.gui.GuiAppKt"

schema/jvm/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import org.jsonschema2pojo.AnnotationStyle
22
import org.jsonschema2pojo.SourceType
3+
import org.jsonschema2pojo.gradle.JsonSchemaExtension
34
import java.util.Collections.singletonList
45

56
description = "Robocode Tank Royale schema for Java"
67

78
val title = "Robocode Tank Royale schema for Java"
9+
group = "dev.robocode.tankroyale"
810
version = libs.versions.tankroyale.get()
911

1012
val artifactBaseName = "robocode-tankroyale-schema"

server/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import proguard.gradle.ProGuardTask
33
description = "Robocode Tank Royale Server"
44

55
val title = "Robocode Tank Royale Server"
6+
group = "dev.robocode.tankroyale"
67
version = libs.versions.tankroyale.get()
78

89
val jarManifestMainClass = "dev.robocode.tankroyale.server.ServerKt"

0 commit comments

Comments
 (0)