diff --git a/build.gradle.kts b/build.gradle.kts index 670e06998d..1d9ab12209 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,11 +59,13 @@ fun isNonStable(version: String): Boolean { allprojects { group = "com.openosrs" version = ProjectVersions.rlVersion + apply() } subprojects { repositories { - //mavenLocal() + if (System.getenv("JITPACK") != null) + mavenLocal() jcenter() maven(url = "https://mvnrepository.com/artifact") maven(url = "https://repo.runelite.net") @@ -72,7 +74,7 @@ subprojects { } apply() - apply() + //apply() apply(plugin = Plugins.testLogger.first) project.extra["gitCommit"] = localGitCommit diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000000..213687905c --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,6 @@ +jdk: + - openjdk11 +install: + - echo "Welcome to OpenOSRS JitPack" + - chmod a+x ./gradlew + - ./gradlew build publishToMavenLocal -x test