-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
33 lines (23 loc) · 823 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
apply plugin: 'java'
sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
if (!hasProperty('mainClass')) {
ext.mainClass = 'eu.mihosoft.jcsg.ext.mesh.tutorial.Main'
}
task wrapper(type: Wrapper, description: 'Creates and deploys the Gradle wrapper to the current directory.') {
gradleVersion = '4.8'
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.10'
// mesh extensions
compile group: 'eu.mihosoft.jcsg.ext.mesh', name: 'jcsg-meshextensions', version: '0.3'
compile group: 'eu.mihosoft.jcsg.ext.mesh', name: 'jcsg-meshextensions', version: '0.3', classifier: 'sources'
}
task run(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = mainClass;
}