|
@@ -1,7 +1,7 @@
|
|
|
import java.text.SimpleDateFormat
|
|
|
|
|
|
plugins {
|
|
|
- id 'fabric-loom' version '0.2.5-SNAPSHOT'
|
|
|
+ id 'fabric-loom' version '0.2.6-SNAPSHOT'
|
|
|
id 'maven-publish'
|
|
|
id 'maven'
|
|
|
id 'signing'
|
|
@@ -9,12 +9,21 @@ plugins {
|
|
|
id 'com.matthewprenger.cursegradle' version '1.4.0'
|
|
|
}
|
|
|
|
|
|
+repositories {
|
|
|
+ maven {
|
|
|
+ name = 'Fabric'
|
|
|
+ url = 'https://maven.fabricmc.net/'
|
|
|
+ }
|
|
|
+ jcenter()
|
|
|
+ maven { url "https://jitpack.io" }
|
|
|
+}
|
|
|
+
|
|
|
sourceCompatibility = 1.8
|
|
|
targetCompatibility = 1.8
|
|
|
|
|
|
group = "me.shedaniel.cloth"
|
|
|
archivesBaseName = "config-2"
|
|
|
-version = ((String) project.mod_version).contains("unstable") ? (project.mod_version + "." + buildTime()) : project.mod_version
|
|
|
+version = (project.mod_version as String).contains("unstable") ? (project.mod_version + "." + buildTime()) : project.mod_version as String
|
|
|
|
|
|
minecraft {
|
|
|
}
|
|
@@ -33,14 +42,19 @@ static def buildTime() {
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
|
+ compileOnly "com.google.code.findbugs:jsr305:3.0.2"
|
|
|
+
|
|
|
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
|
|
- mappings "net.fabricmc:yarn:${project.yarn_version}"
|
|
|
- modApi "net.fabricmc:fabric-loader:${project.fabric_loader_version}"
|
|
|
+ mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
|
|
+
|
|
|
+ modApi "net.fabricmc:fabric-loader:${project.loader_version}"
|
|
|
modApi "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
|
|
+
|
|
|
modImplementation "io.github.prospector:modmenu:${modmenu_version}"
|
|
|
- compileOnly "com.google.code.findbugs:jsr305:3.0.2"
|
|
|
- //https://github.com/natanfudge/Not-Enough-Crashes/blob/master/README.md
|
|
|
- modCompileOnly "com.lettuce.fudge:notenoughcrashes:$nec_version"
|
|
|
+
|
|
|
+ modImplementation "com.lettuce.fudge:notenoughcrashes-api:1.0.0"
|
|
|
+ include "com.lettuce.fudge:notenoughcrashes-api:1.0.0"
|
|
|
+ modRuntime "com.lettuce.fudge:notenoughcrashes:$nec_version"
|
|
|
}
|
|
|
|
|
|
bintray {
|
|
@@ -145,7 +159,8 @@ curseforge {
|
|
|
project {
|
|
|
id = '319057'
|
|
|
releaseType = 'release'
|
|
|
- addGameVersion '1.15-Snapshot'
|
|
|
+ addGameVersion '1.15.1'
|
|
|
+ addGameVersion 'Fabric'
|
|
|
addGameVersion 'Java 8'
|
|
|
relations {
|
|
|
requiredDependency 'fabric-api'
|