diff --git a/build.gradle b/build.gradle index 1ce8b0081..8a388de54 100644 --- a/build.gradle +++ b/build.gradle @@ -19,20 +19,6 @@ buildscript { } } -/*plugins { - id "java" - id "maven-publish" -}*/ - -dependencies { - /*for (Project prj : project.allprojects) { - if (!"PorkLib".equalsIgnoreCase(prj.name) && prj.parent.name.equalsIgnoreCase("PorkLib")) { - compile project(":" + prj.name) - } - }*/ - //TODO -} - allprojects { apply plugin: "java" apply plugin: "maven-publish" @@ -40,7 +26,7 @@ allprojects { ext { //general things javaVersion = "1.8" - porklibVersion = "0.4.0-SNAPSHOT" + porklibVersion = "0.4.0" //dependency things apacheCommonsCompressVersion = "1.16.1" @@ -146,3 +132,11 @@ allprojects { } } } + +dependencies { + for (Project prj : project.allprojects) { + if (!"PorkLib".equalsIgnoreCase(prj.name) && prj.parent.name.equalsIgnoreCase("PorkLib")) { + compile project(":" + prj.name) + } + } +}