aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle10
1 files changed, 4 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle
index 1db46e5..49d84f0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,7 +1,5 @@
-plugins {
- id 'fabric-loom' version '1.2-SNAPSHOT'
- id 'io.shcm.shsupercm.fabric.fletchingtable' version '1.6'
-}
+plugins.apply 'fabric-loom'
+plugins.apply 'io.shcm.shsupercm.fabric.fletchingtable'
version = "${property('mod.version')}+${stonecutter.current().version()}"
group = 'shcm.shsupercm.fabric.citresewn'
@@ -37,7 +35,7 @@ loom {
}
java {
- //withSourcesJar()
+ withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
@@ -67,7 +65,7 @@ if (stonecutter.current().isActiveVersion()) {
changelog = java.nio.file.Files.readString(rootProject.file("Changelog.md").toPath())
versionNumber = version
versionName = "v" + version
- //additionalFiles = [sourcesJar.outputs.getFiles().singleFile]
+ additionalFiles = [sourcesJar.outputs.getFiles().singleFile]
gameVersions = Arrays.asList(property('mod.target-mc-publish').split(","))
}