Skip to content

Commit 9820110

Browse files
committed
remove useless buildconfig
1 parent 66fa928 commit 9820110

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

build.gradle

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,12 @@ plugins {
22
id "org.jetbrains.kotlin.jvm" version "1.5.31"
33
id "com.github.johnrengelman.shadow" version "7.1.0"
44
id "maven-publish"
5-
id "com.github.gmazzo.buildconfig" version "3.0.3"
65
}
76

87
group "org.bundleproject"
98
version "0.0.3"
109
archivesBaseName = "Bundle"
1110

12-
buildConfig {
13-
className 'BundleVersion'
14-
packageName 'org.bundleproject.bundle'
15-
useKotlinOutput()
16-
useKotlinOutput { topLevelConstants = true }
17-
18-
buildConfigField "com.github.zafarkhaja.semver.Version", "VERSION", "Version.valueOf(\"${project.version}\")"
19-
}
20-
2111
java {
2212
toolchain {
2313
version = JavaLanguageVersion.of(8)
@@ -38,7 +28,7 @@ configurations {
3828
dependencies {
3929
include "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31"
4030

41-
include "com.google.code.gson:gson:2.8.8"
31+
include "com.google.code.gson:gson:2.8.9"
4232
include "com.github.zafarkhaja:jsemver:0.9.0"
4333

4434
include 'com.formdev:flatlaf:1.6.1'
@@ -65,7 +55,6 @@ publishing {
6555
artifact(jar) {
6656
builtBy jar
6757
}
68-
6958
}
7059
}
7160
}

src/main/kotlin/org/bundleproject/bundle/Bundle.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import kotlin.concurrent.withLock
3333
* @since 0.0.1
3434
*/
3535
class Bundle(private val gameDir: File, private val version: Version, modFolderName: String) {
36-
3736
private val modsDir = File(gameDir, modFolderName)
3837

3938
suspend fun start() {
@@ -174,6 +173,5 @@ class Bundle(private val gameDir: File, private val version: Version, modFolderN
174173
}
175174
}.awaitAll()
176175
}
177-
178176
}
179177
}

0 commit comments

Comments
 (0)