aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author‭huajijam <strhuaji@gmail.com>2019-04-13 11:05:03 +0800
committer‭huajijam <strhuaji@gmail.com>2019-04-13 11:05:03 +0800
commit98c00c93f331d6a4520fb207d015635d4a997ccb (patch)
tree9859aad3fce4ced498edd23474c71b8d4cbb4aaa /build.gradle
parentd7fcfa0ad111a73ab29a2f3fcead3c45615bd6cc (diff)
parent3ac6ce92d641fdaec86a1aa39a17250944931bcc (diff)
downloadGT5-Unofficial-98c00c93f331d6a4520fb207d015635d4a997ccb.tar.gz
GT5-Unofficial-98c00c93f331d6a4520fb207d015635d4a997ccb.tar.bz2
GT5-Unofficial-98c00c93f331d6a4520fb207d015635d4a997ccb.zip
Automatic synchronization
Former-commit-id: 06caaed4ca97e13d334bb05cfdc2cc6020c199de
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle39
1 files changed, 38 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index ae10e3f9a3..229a4f71c1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -21,8 +21,14 @@ plugins {
}
apply plugin: 'forge'
-apply plugin: 'idea'
apply plugin: 'signing'
+apply plugin: 'idea'
+idea{
+ module {
+ downloadJavadoc = true
+ downloadSources = true
+ }
+}
import de.undercouch.gradle.tasks.download.Download
@@ -61,10 +67,34 @@ repositories {
name = "ic2"
url = "http://maven.ic2.player.to/"
}
+ maven { // AppleCore
+ url "http://www.ryanliptak.com/maven/"
+ }
+ maven { // GalacticGreg, YAMCore,..
+ name 'UsrvDE'
+ url "http://jenkins.usrv.eu:8081/nexus/content/repositories/releases/"
+ }
+ ivy {
+ name 'gtnh_download_source_stupid_underscore_typo'
+ artifactPattern "http://downloads.gtnewhorizons.com/Mods_for_Jenkins/[module]_[revision].[ext]"
+ }
+ ivy {
+ name 'gtnh_download_source'
+ artifactPattern "http://downloads.gtnewhorizons.com/Mods_for_Jenkins/[module]-[revision].[ext]"
+ }
+ maven {
+ name = "gt"
+ url = "https://gregtech.overminddl1.com/"
+ }
+
}
dependencies {
compile "net.industrial-craft:industrialcraft-2:${config.ic2.version}:dev"
+ compileOnly "applecore:AppleCore:${config.applecore.version}:api"
+ compile "micdoodle8.mods:MicdoodleCore:${config.galacticraft.version}:Dev"
+ compile "micdoodle8.mods:GalacticraftCore:${config.galacticraft.version}:Dev"
+ compile "micdoodle8.mods:Galacticraft-Planets:${config.galacticraft.version}:Dev"
}
//task getGregTech(type: Download) {
@@ -102,6 +132,13 @@ processResources
}
}
+jar {
+ manifest {
+ attributes 'FMLCorePlugin': 'com.github.bartimaeusnek.ASM.BWCorePlugin',
+ 'FMLCorePluginContainsFMLMod': 'true'
+ }
+}
+
task apiJar(type: Jar){
from(sourceSets.main.output) {
include 'com/github/bartimaeusnek/bartworks/API/**'