forked from tiny-express/native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (33 loc) · 794 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
38
apply plugin: 'java'
repositories {
mavenCentral()
}
task(generate, dependsOn: jar, type: JavaExec ) {
main = 'com.foodtiny.Converter'
classpath(sourceSets.main.runtimeClasspath, sourceSets .main.compileClasspath)
}
sourceSets {
main {
java {
srcDir 'misc/transpiler/src/main/java'
buildDir 'misc/transpiler/build'
}
}
test {
java {
srcDir 'library'
buildDir 'misc/transpiler/build'
}
}
}
test {
testLogging {
exceptionFormat = 'full'
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile group: 'com.github.javaparser', name: 'javaparser-core', version: '3.5.8'
sourceCompatibility = 1.8
targetCompatibility = 1.8
}