-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
43 lines (26 loc) · 929 Bytes
/
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
apply plugin: "java"
apply plugin: "eclipse"
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/de.micromata.jak/JavaAPIforKml
compile group: 'de.micromata.jak', name: 'JavaAPIforKml', version: '2.2.0'}
dependencies {
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.1.0-M1'}
dependencies { testCompile 'junit:junit:4.+'}
dependencies { implementation 'org.xerial:sqlite-jdbc:+' }
dependencies { implementation 'mysql:mysql-connector-java:5.+' }
task runApps(type: JavaExec) {
main = "gui.mainWindows"
classpath = sourceSets.main.runtimeClasspath
}
task SQLread(type: JavaExec) {
main = "dataBase.mySQL"
classpath = sourceSets.main.runtimeClasspath
}
task success {
doLast {println "All Juint tests passed!"}
}
test.finalizedBy(success)