File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ plugins {
3434 `mcdev- publishing`
3535}
3636
37- val ideaVersionName: String by project
3837val coreVersion: String by project
3938
4039val gradleToolingExtension: Configuration by configurations.creating
@@ -43,7 +42,6 @@ val testLibs: Configuration by configurations.creating {
4342}
4443
4544group = " com.demonwav.mcdev"
46- version = " $ideaVersionName -$coreVersion "
4745
4846val gradleToolingExtensionSourceSet: SourceSet = sourceSets.create(" gradle-tooling-extension" ) {
4947 configurations.named(compileOnlyConfigurationName) {
Original file line number Diff line number Diff line change @@ -32,6 +32,17 @@ plugins {
3232 id(" org.cadixdev.licenser" )
3333}
3434
35+ val ideaVersionName: String by project
36+ val coreVersion: String by project
37+ val buildNumber: String? by project
38+
39+ version = " $ideaVersionName -$coreVersion "
40+
41+ // Build numbers are used for nightlies
42+ if (buildNumber != null ) {
43+ version = " $version -$buildNumber "
44+ }
45+
3546java {
3647 toolchain {
3748 languageVersion.set(JavaLanguageVersion .of(17 ))
Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ plugins {
2323}
2424
2525tasks.publishPlugin {
26- // Build numbers are used for nightlies
27- properties[" buildNumber" ]?.let { buildNumber ->
28- project.version = " ${project.version} -$buildNumber "
29- }
3026 properties[" mcdev.deploy.token" ]?.let { deployToken ->
3127 token.set(deployToken.toString())
3228 }
Original file line number Diff line number Diff line change @@ -26,15 +26,11 @@ plugins {
2626 `mcdev- publishing`
2727}
2828
29- val ideaVersionName: String by project
30- val coreVersion: String by project
31-
3229val jflex by configurations
3330val jflexSkeleton by configurations
3431val grammarKit by configurations
3532
3633group = " io.mcdev.obfex"
37- version = " $ideaVersionName -$coreVersion "
3834
3935intellijPlatform {
4036 projectName = " Obfuscation Explorer"
You can’t perform that action at this time.
0 commit comments