Skip to content

Commit 3d7e8a3

Browse files
committed
Override transitive JTok version, resolve it from Maven Central
1 parent 179009a commit 3d7e8a3

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

src/main/groovy/de/dfki/mary/ComponentPlugin.groovy

+5-11
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,6 @@ class ComponentPlugin implements Plugin<Project> {
2828

2929
project.repositories {
3030
mavenCentral()
31-
exclusiveContent {
32-
forRepository {
33-
maven {
34-
name 'DFKI-MLT'
35-
url 'https://raw.githubusercontent.com/DFKI-MLT/Maven-Repository/main'
36-
}
37-
}
38-
filter {
39-
includeGroup 'de.dfki.lt.jtok'
40-
}
41-
}
4231
}
4332

4433
project.sourceSets {
@@ -63,6 +52,11 @@ class ComponentPlugin implements Plugin<Project> {
6352
}
6453
testImplementation localGroovy()
6554
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
55+
constraints {
56+
implementation('de.dfki.lt.jtok:jtok-core:1.9.4') {
57+
because 'transitive dependency v1.9.3 is not available in Maven Central'
58+
}
59+
}
6660
}
6761

6862
project.tasks.register('generateServiceLoader', GenerateServiceLoader) {

0 commit comments

Comments
 (0)