Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions dd-java-agent/instrumentation/wildfly-9.0/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
repositories {
maven {
url = 'https://maven.repository.redhat.com/ga/'
}
}

muzzle {
extraRepository('redhat-ga', 'https://maven.repository.redhat.com/ga/')
pass {
Expand All @@ -16,6 +10,20 @@ muzzle {

apply from: "$rootDir/gradle/java.gradle"

repositories {
// Declared after java.gradle so Maven Central is tried first; this repo only acts as a
// fallback for WildFly / JBoss artifacts not published to Central. The content filter
// also prevents Gradle from probing this host for unrelated dependencies (e.g. JUnit),
// which made the build flaky when the host was unreachable.
maven {
url = 'https://maven.repository.redhat.com/ga/'
content {
includeGroupAndSubgroups 'org.wildfly'
includeGroupAndSubgroups 'org.jboss'
}
}
}

testJvmConstraints {
minJavaVersion = JavaVersion.VERSION_11
}
Expand Down