44 lines
1.5 KiB
Groovy
44 lines
1.5 KiB
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "org.apache.myfaces.core"
|
|
module = "myfaces-impl"
|
|
versions = "[1.2,3)"
|
|
extraDependency "jakarta.el:jakarta.el-api:3.0.3"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
testSets {
|
|
myfaces12Test
|
|
myfaces2Test
|
|
latestDepTest {
|
|
extendsFrom myfaces2Test
|
|
dirName = 'myfaces2LatestTest'
|
|
}
|
|
}
|
|
|
|
test.dependsOn myfaces12Test, myfaces2Test
|
|
|
|
dependencies {
|
|
compileOnly group: 'org.apache.myfaces.core', name: 'myfaces-api', version: '1.2.12'
|
|
compileOnly group: 'javax.el', name: 'el-api', version: '1.0'
|
|
|
|
implementation project(':instrumentation:jsf:jsf-common:library')
|
|
|
|
testImplementation project(':instrumentation:jsf:jsf-testing-common')
|
|
testInstrumentation project(':instrumentation:servlet:servlet-3.0:javaagent')
|
|
testInstrumentation project(':instrumentation:servlet:servlet-common:javaagent')
|
|
|
|
myfaces12TestImplementation group: 'org.apache.myfaces.core', name: 'myfaces-impl', version: '1.2.12'
|
|
myfaces12TestImplementation group: 'com.sun.facelets', name: 'jsf-facelets', version: '1.1.14'
|
|
|
|
myfaces2TestImplementation group: 'org.apache.myfaces.core', name: 'myfaces-impl', version: '2.3.2'
|
|
myfaces2TestImplementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.11'
|
|
myfaces2TestImplementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.2.11'
|
|
|
|
latestDepTestImplementation group: 'org.apache.myfaces.core', name: 'myfaces-impl', version: '2+'
|
|
}
|