2020-08-07 06:13:48 +00:00
|
|
|
/*
|
|
|
|
* This file was generated by the Gradle 'init' task.
|
|
|
|
*
|
|
|
|
* This generated file contains a sample Groovy project to get you started.
|
|
|
|
* For more details take a look at the Groovy Quickstart chapter in the Gradle
|
|
|
|
* User Manual available at https://docs.gradle.org/6.5.1/userguide/tutorial_groovy_projects.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
// Apply the groovy plugin to add support for Groovy
|
|
|
|
id 'groovy'
|
|
|
|
|
|
|
|
// Apply the application plugin to add support for building a CLI application.
|
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
// Use jcenter for resolving dependencies.
|
|
|
|
// You can declare any Maven/Ivy/file repository here.
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Use the latest Groovy version for building this library
|
|
|
|
implementation 'org.codehaus.groovy:groovy-all:3.0.5'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.8.0'
|
2020-08-10 13:44:14 +00:00
|
|
|
implementation 'org.influxdb:influxdb-java:2.19'
|
2020-08-11 14:26:16 +00:00
|
|
|
// implementation 'org.tomlj:tomlj:1.0.0'
|
2020-08-07 06:13:48 +00:00
|
|
|
implementation 'org.slf4j:slf4j-api:1.7.+'
|
|
|
|
runtimeOnly 'ch.qos.logback:logback-classic:1.+'
|
|
|
|
|
|
|
|
// Use the awesome Spock testing and specification framework
|
|
|
|
testImplementation('org.spockframework:spock-core:2.0-M3-groovy-3.0')
|
|
|
|
testImplementation("org.slf4j:slf4j-simple:1.7.+")
|
|
|
|
testImplementation('com.squareup.okhttp3:mockwebserver:4.8.0')
|
2020-08-10 13:44:14 +00:00
|
|
|
//implementation platform('org.testcontainers:testcontainers-bom:1.14.3') //import bom
|
|
|
|
//testCompile "org.testcontainers:influxdb:1.14.3"
|
2020-08-07 06:13:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
// Define the main class for the application.
|
|
|
|
mainClassName = 'biz.nellemann.hmci.App'
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|