Skip to content

Commit b20af79

Browse files
committed
chore: clean up gradle
1 parent 59115c2 commit b20af79

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

build.gradle.kts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ plugins {
55
kotlin("plugin.serialization") version "2.2.10"
66
id("org.jetbrains.dokka") version "2.0.0"
77
id("io.papermc.paperweight.userdev") version "2.0.0-beta.18"
8-
id("xyz.jpenilla.run-paper") version "2.3.1"
9-
id("com.gradleup.shadow") version "9.0.2"
108
id("org.hildan.kotlin-publish") version "1.7.0"
119
}
1210

13-
val publishVersion = System.getenv("GH_RELEASE_VERSION")
14-
val calendar = Calendar.getInstance()
11+
val publishVersion: String? = System.getenv("GH_RELEASE_VERSION")
12+
val calendar: Calendar = Calendar.getInstance()
1513

1614
group = "dev.fruxz"
1715
version = publishVersion?.plus("-preview") ?: "${calendar[Calendar.YEAR]}.${calendar[Calendar.MONTH] + 1}-dev"
@@ -73,16 +71,9 @@ publishing {
7371

7472
tasks {
7573

76-
compileKotlin {
77-
compilerOptions {
78-
freeCompilerArgs.add("-opt-in=kotlinx.serialization.ExperimentalSerializationApi")
79-
}
80-
}
81-
8274
dokkaHtml.configure {
8375
outputDirectory.set(layout.projectDirectory.dir("docs"))
8476
}
85-
8677
}
8778

8879
kotlin {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kotlin.code.style=official
1+
kotlin.code.style=official

0 commit comments

Comments
 (0)