diff --git a/de.peeeq.wurstscript/build.gradle b/de.peeeq.wurstscript/build.gradle index fd5c21fa7..8160218c9 100644 --- a/de.peeeq.wurstscript/build.gradle +++ b/de.peeeq.wurstscript/build.gradle @@ -157,7 +157,10 @@ dependencies { implementation 'commons-lang:commons-lang:2.6' implementation 'com.github.albfernandez:juniversalchardet:2.4.0' implementation 'org.xerial:sqlite-jdbc:3.46.1.3' - implementation 'com.github.inwc3:JMPQ3:v2.0.1' + // wc3libs requests a release tag, which otherwise wins over a commit pin. + implementation('com.github.inwc3:JMPQ3') { + version { strictly 'a7a771b48ba190f0e8734d20249efc1d72d2ed3a' } + } implementation 'com.github.inwc3:wc3libs:0542c41400' implementation 'com.github.wurstscript:wurst-project-config:1897c53' implementation 'org.slf4j:slf4j-api:2.0.17' diff --git a/de.peeeq.wurstscript/settings.gradle b/de.peeeq.wurstscript/settings.gradle index 30d3449c7..5441c8ede 100644 --- a/de.peeeq.wurstscript/settings.gradle +++ b/de.peeeq.wurstscript/settings.gradle @@ -15,7 +15,18 @@ dependencyResolutionManagement { repositories { mavenCentral() google() - maven { url 'https://jitpack.io' } + def jitpack = maven { url 'https://jitpack.io' } + exclusiveContent { + forRepositories(jitpack) + // Commit-pinned GitHub artifacts are published by JitPack. + filter { + includeModule('com.github.inwc3', 'JMPQ3') + includeModule('com.github.inwc3', 'wc3libs') + includeModule('com.github.wurstscript', 'wurst-project-config') + includeModule('com.github.peterzeller', 'abstractsyntaxgen') + includeModule('com.github.peterzeller', 'java-smallcheck') + } + } } }