Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

Commit f1034f6

Browse files
committed
[ci skip] upgraded build system
1 parent 777235b commit f1034f6

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

build.gradle

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//version: 1675074449
1+
//version: 1675110695
22
/*
33
DO NOT CHANGE THIS FILE!
44
Also, you may replace this file at any time if there is an update available.
@@ -66,7 +66,7 @@ plugins {
6666
id 'com.diffplug.spotless' version '6.7.2' apply false
6767
id 'com.modrinth.minotaur' version '2.+' apply false
6868
id 'com.matthewprenger.cursegradle' version '1.4.0' apply false
69-
id 'com.gtnewhorizons.retrofuturagradle' version '1.0.18'
69+
id 'com.gtnewhorizons.retrofuturagradle' version '1.1.2'
7070
}
7171
boolean settingsupdated = verifySettingsGradle()
7272
settingsupdated = verifyGitAttributes() || settingsupdated
@@ -166,6 +166,9 @@ pluginManager.withPlugin('org.jetbrains.kotlin.jvm') {
166166
"kaptMcLauncherKotlin",
167167
"kaptPatchedMcKotlin",
168168
"kaptInjectedTagsKotlin",
169+
"kspMcLauncherKotlin",
170+
"kspPatchedMcKotlin",
171+
"kspInjectedTagsKotlin",
169172
]
170173
tasks.configureEach { task ->
171174
if (task.name in disabledKotlinTaskList) {
@@ -334,7 +337,7 @@ if (identifiedVersion == versionOverride) {
334337
out.style(Style.Failure).text('Override version to ').style(Style.Identifier).text(modVersion).style(Style.Failure).println('!\7')
335338
}
336339

337-
group = modGroup
340+
group = "com.github.GTNewHorizons"
338341
if (project.hasProperty("customArchiveBaseName") && customArchiveBaseName) {
339342
archivesBaseName = customArchiveBaseName
340343
} else {
@@ -711,16 +714,6 @@ if (usesShadowedDependencies.toBoolean()) {
711714
ext.publishableDevJar = usesShadowedDependencies.toBoolean() ? tasks.shadowJar : tasks.jar
712715
ext.publishableObfJar = tasks.reobfJar
713716

714-
tasks.named('extractForgeUserdev', Copy).configure { efu ->
715-
doLast {
716-
// Fix CoFH-repackaged CCL not finding mappings
717-
project.copy {
718-
from(mcpTasks.userdevDir("conf"))
719-
into(new File(project.buildDir, "unpacked/conf"))
720-
}
721-
}
722-
}
723-
724717
tasks.register('apiJar', Jar) {
725718
from(sourceSets.main.allSource) {
726719
include modGroupPath + "/" + apiPackagePath + '/**'
@@ -825,7 +818,7 @@ publishing {
825818
artifact apiJar
826819
}
827820

828-
groupId = System.getenv("ARTIFACT_GROUP_ID") ?: "com.github.GTNewHorizons"
821+
groupId = System.getenv("ARTIFACT_GROUP_ID") ?: project.group
829822
artifactId = System.getenv("ARTIFACT_ID") ?: project.name
830823
// Using the identified version, not project.version as it has the prepended 1.7.10
831824
version = System.getenv("RELEASE_VERSION") ?: identifiedVersion

0 commit comments

Comments
 (0)