
Addingtests Adding javadocs Adding test Bugs: Bug 2047143 Bug 2047131 Bug 2047058 Correcting an invalid look variable which was not thread safe. Fixing handling of lists in constructors Change-Id: Ie3ee97a70edbda291757c6f14676f1c653ca71b1
46 lines
1.2 KiB
Groovy
46 lines
1.2 KiB
Groovy
|
|
plugins {
|
|
// Apply the groovy Plugin to add support for Groovy.
|
|
id 'groovy'
|
|
|
|
// Apply the java-library plugin for API and implementation separation.
|
|
id 'java-library'
|
|
}
|
|
repositories {
|
|
// Use Maven Central for resolving dependencies.
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Use the latest Groovy version for building this library
|
|
implementation 'org.codehaus.groovy:groovy-all:3.0.10'
|
|
|
|
api group: 'org.apache.qpid', name: 'protonj2-client', version: '1.0.0-M16'
|
|
implementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.12'
|
|
implementation group: 'org.aeonbits.owner', name: 'owner', version: '1.0.12'
|
|
|
|
// Use the awesome Spock testing and specification framework even with Java
|
|
testImplementation 'org.spockframework:spock-core:2.1-groovy-3.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
}
|
|
|
|
tasks.named('test') {
|
|
// Use JUnit Platform for unit tests.
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
java {
|
|
// Set the Java version for source and target compatibility
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
|
|
sourceSets {
|
|
main{
|
|
groovy{
|
|
srcDirs = ['src/main/groovy','src/main/resources','src/main/examples']
|
|
}
|
|
}
|
|
} |