aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-05-20 21:24:08 +0300
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-05-20 21:24:08 +0300
commit0453c6dfbaa7d83ad5e5cccd0621fc92c63a0614 (patch)
treee1522be2194aa07a8e1f5cc503eb00af5074efc1 /build.gradle
parent1a4ee8b4151d27906d16fa506f139cf1edf51c1e (diff)
downloadLibGui-0453c6dfbaa7d83ad5e5cccd0621fc92c63a0614.tar.gz
LibGui-0453c6dfbaa7d83ad5e5cccd0621fc92c63a0614.tar.bz2
LibGui-0453c6dfbaa7d83ad5e5cccd0621fc92c63a0614.zip
Rework GuiTest to be a subproject
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle32
1 files changed, 3 insertions, 29 deletions
diff --git a/build.gradle b/build.gradle
index 3d0e1db..ab52414 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,34 +1,9 @@
-buildscript {
- repositories {
- jcenter()
- maven {
- name = 'Modmuss'
- url = 'https://maven.modmuss50.me/'
- }
- maven {
- name = 'Fabric'
- url = 'https://maven.fabricmc.net/'
- }
- }
-
- dependencies {
- System.out.println(rootProject.name);
- if (rootProject.name.equalsIgnoreCase("LibGUI")) {
- System.out.println("Added libgui to classpath");
- classpath 'fabric-loom:fabric-loom.gradle.plugin:0.2.7-SNAPSHOT'
- }
- }
-}
-
plugins {
- //id 'fabric-loom' version '0.2.4-SNAPSHOT'
+ id 'fabric-loom' version '0.2.7-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
@@ -59,9 +34,8 @@ dependencies {
compileOnly ("com.google.code.findbugs:jsr305:3.0.2") { transitive = false }
- def modmenu = "1.11.0+build.2"
- modCompileOnly "io.github.prospector:modmenu:$modmenu"
- modRuntime "io.github.prospector:modmenu:$modmenu" // for testing
+ modCompileOnly "io.github.prospector:modmenu:$project.modmenu_version"
+ modRuntime "io.github.prospector:modmenu:$project.modmenu_version" // for testing
}
processResources {