-
-
Notifications
You must be signed in to change notification settings - Fork 324
/
build.gradle
43 lines (34 loc) · 1.18 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
40
41
42
apply plugin: 'java-library'
apply plugin: 'eclipse'
description = "ELKI - Parent Project"
eclipse.project.name = 'elki-project'
allprojects {
apply plugin: 'java-test-fixtures'
apply plugin: 'java-library'
apply plugin: 'maven-publish' // Not strictly necessary, but convenient
repositories { mavenCentral() }
group = 'io.github.elki-project'
version = '0.8.1-SNAPSHOT'
java.sourceCompatibility = 1.8
java.targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
// compatiblity with gradle 9+
// not compatile with java 8
// tasks.withType(JavaCompile) {
// options.release = 17
// options.encoding = 'UTF-8'
// }
ext.vendor = "ELKI Development Team"
ext.url = "https://elki-project.github.io/"
ext.year = new Date().format('yyyy')
ext.buildTime = new Date().format("yyyy-MM-dd'T'HH:mm'Z'")
ext.isSnapshot = version.endsWith("-SNAPSHOT")
test.testLogging.showStandardStreams = true
}
apply from: 'gradle/modules.gradle'
apply from: 'gradle/package.gradle'
apply from: 'gradle/javadoc.gradle'
apply from: 'gradle/jacoco.gradle'
apply from: 'gradle/eclipse.gradle'
apply from: 'gradle/dependencyPlot.gradle'
apply from: 'gradle/signing.gradle'