aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle19
1 files changed, 18 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index d321642..c453a51 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,18 +1,35 @@
buildscript {
repositories {
jcenter()
+ maven {
+ name = 'Fabric'
+ url = 'https://maven.fabricmc.net/'
+ }
+ }
+
+ dependencies {
+ System.out.println(rootProject.name);
+ if (rootProject.name=="LibGUI") {
+ System.out.println("Added libgui to classpath");
+ classpath 'fabric-loom:fabric-loom.gradle.plugin:0.2.4-SNAPSHOT'
+ }
}
}
plugins {
- id 'fabric-loom' version '0.2.4-SNAPSHOT'
+ //id 'fabric-loom' version '0.2.4-SNAPSHOT'
id 'maven-publish'
id "com.jfrog.artifactory" version "4.9.0"
}
+
+apply plugin: "fabric-loom";
+
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
+
+
if(rootProject.file('private.gradle').exists()) { //Publishing details
apply from: 'private.gradle'
}