diff options
author | Falkreon <falkreon@gmail.com> | 2019-08-25 21:38:11 -0500 |
---|---|---|
committer | Falkreon <falkreon@gmail.com> | 2019-08-25 21:38:11 -0500 |
commit | c365433e34bdd95e83740a5af6a3338444a3540a (patch) | |
tree | 8ecabd4ee8dacc31ae5237094dd85f82108b30ab /build.gradle | |
parent | 2ae4c11c84ad90031b0fd32e011c49849352bcc5 (diff) | |
download | LibGui-c365433e34bdd95e83740a5af6a3338444a3540a.tar.gz LibGui-c365433e34bdd95e83740a5af6a3338444a3540a.tar.bz2 LibGui-c365433e34bdd95e83740a5af6a3338444a3540a.zip |
More gui test, fix slot offsets, tooltips, and button hovers
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 19 |
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' } |