-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (44 loc) · 1.45 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.21'
}
group 'org.droidmate'
version = "1.0"
apply from: file("${rootProject.projectDir}/ktlint.gradle")
apply from: file("${rootProject.projectDir}/versions.gradle")
apply plugin: 'application'
// for publishing to m2
//apply plugin: 'maven'
mainClassName = "org.droidmate.Main"
repositories {
mavenLocal()
mavenCentral()
maven {url = "https://jitpack.io"}
}
apply plugin: 'java'
task sourcesJar(type: Jar, dependsOn: "classes") {
classifier = 'sources'
from sourceSets.main.allJava
from sourceSets.main.allSource
from sourceSets.test.allSource
}
apply plugin: 'maven'
artifacts {
archives sourcesJar
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation "org.jetbrains.kotlin:kotlin-reflect"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${project.ext.coroutines_version}"
implementation 'org.slf4j:slf4j-api:1.7.25'
compile 'com.github.uds-se.droidmate:droidmate-2:1.3.3-RC0'
compile 'com.natpryce:konfig:1.6.6.0' // configuration library
implementation 'com.github.hotzkow:explorationModel:1.3.2-RC1'
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.6'
implementation 'nz.ac.waikato.cms.weka:weka-stable:3.8.1'
}
compileKotlin {
kotlinOptions.jvmTarget = "${project.ext.javaVersion}"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "${project.ext.javaVersion}"
}