-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
39 lines (33 loc) · 1.21 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
plugins {
id "com.exactpro.th2.gradle.base" version "0.1.3"
id "com.exactpro.th2.gradle.publish" version "0.1.3"
}
allprojects {
version = release_version
group = 'com.exactpro.th2'
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
repositories {
mavenCentral()
maven {
name 'Sonatype_snapshots'
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
maven {
name 'Sonatype_releases'
url 'https://s01.oss.sonatype.org/content/repositories/releases/'
}
configurations.configureEach {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
}
}
sourceCompatibility = JavaVersion.VERSION_11 //Java version compatibility to use when compiling Java source.
targetCompatibility = JavaVersion.VERSION_11 //Java version to generate classes for.
compileJava.options.debugOptions.debugLevel = 'source,lines,vars' // Include debug information
dependencies {
implementation 'io.prometheus:simpleclient_dropwizard:0.16.0'
}
}