diff options
author | SHsuperCM <shsupercm@gmail.com> | 2023-06-20 19:02:14 +0300 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2023-06-20 19:02:14 +0300 |
commit | 441284a24bd3af732954394b3b6afa73554764de (patch) | |
tree | d353d056b9d6ad88ac68b0a4d13f9c6711fc8248 /defaults/build.gradle | |
parent | ab4fcee98d605fb0792d8ee37b3c9e72e1b4b9e4 (diff) | |
download | CITResewn-441284a24bd3af732954394b3b6afa73554764de.tar.gz CITResewn-441284a24bd3af732954394b3b6afa73554764de.tar.bz2 CITResewn-441284a24bd3af732954394b3b6afa73554764de.zip |
Fixed sources jar not being built
Diffstat (limited to 'defaults/build.gradle')
-rw-r--r-- | defaults/build.gradle | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/defaults/build.gradle b/defaults/build.gradle index 1619154..0d080e0 100644 --- a/defaults/build.gradle +++ b/defaults/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.defaults' @@ -37,7 +35,7 @@ loom { } java { - //withSourcesJar() + withSourcesJar() sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 @@ -65,7 +63,7 @@ if (stonecutter.current().isActiveVersion()) { uploadFile = remapJar versionNumber = version versionName = "v" + version - //additionalFiles = [sourcesJar.outputs.getFiles().singleFile] + additionalFiles = [sourcesJar.outputs.getFiles().singleFile] gameVersions = Arrays.asList(property('mod.target-mc-publish').split(",")) } |