File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff 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
1614group = " dev.fruxz"
1715version = publishVersion?.plus(" -preview" ) ? : " ${calendar[Calendar .YEAR ]} .${calendar[Calendar .MONTH ] + 1 } -dev"
@@ -73,16 +71,9 @@ publishing {
7371
7472tasks {
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
8879kotlin {
Original file line number Diff line number Diff line change 1- kotlin.code.style =official
1+ kotlin.code.style =official
You can’t perform that action at this time.
0 commit comments