Fotis Paraskevopoulos 11f6fc3c76 Initial commit
Change-Id: Ie4ccf5572f6c3964882f4f8e409cf862f4a0820b
2023-11-29 10:58:29 +01:00

49 lines
1.6 KiB
Groovy

/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Groovy library project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/7.5.1/userguide/building_java_projects.html
*/
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'
// This dependency is exported to consumers, that is to say found on their compile classpath.
api 'org.apache.commons:commons-math3:3.6.1'
}
tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}