diff options
author | Falkreon <falkreon@gmail.com> | 2019-07-04 01:12:22 -0500 |
---|---|---|
committer | Falkreon <falkreon@gmail.com> | 2019-07-04 01:12:22 -0500 |
commit | 5f290b9cca79d4b47d70a7f537c1a0ea3826f3fa (patch) | |
tree | c163799073fbf93497bdf2e860e6fb89303d14be /build.gradle | |
parent | 854eba2e998951ae30c45825e3cf3180ec77c2b7 (diff) | |
download | LibGui-5f290b9cca79d4b47d70a7f537c1a0ea3826f3fa.tar.gz LibGui-5f290b9cca79d4b47d70a7f537c1a0ea3826f3fa.tar.bz2 LibGui-5f290b9cca79d4b47d70a7f537c1a0ea3826f3fa.zip |
Initial port from 1.14.1 Cotton to 1.14.3 standalone
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index d2adc6d..b8342b2 100644 --- a/build.gradle +++ b/build.gradle @@ -6,6 +6,10 @@ plugins { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 +if(rootProject.file('private.gradle').exists()) { //Publishing details + apply from: 'private.gradle' +} + archivesBaseName = project.archives_base_name version = project.mod_version group = project.maven_group @@ -22,6 +26,7 @@ dependencies { // Fabric API. This is technically optional, but you probably want it anyway. modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" + compileOnly ("com.google.code.findbugs:jsr305:3.0.2") { transitive = false } // PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs. // You may need to force-disable transitiveness on them. } @@ -63,6 +68,10 @@ publishing { publications { mavenJava(MavenPublication) { // add all the jars that should be included when publishing to maven + artifact ("${project.buildDir.absolutePath}/libs/${archivesBaseName}-${project.version}.jar") { //release jar - file location not provided anywhere in loom + classifier null + builtBy remapJar + } artifact(jar) { builtBy remapJar } |