Fotis Paraskevopoulos 1c908a05ce Adding tests
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: I13a6d263a485f0fef551356b7f40475c97601ae6
2024-01-03 10:33:31 +02:00

48 lines
1.4 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'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:31.0.1-jre'
implementation 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']
}
}
}