forked from tenbergen/Automotive-CPS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (43 loc) · 1.52 KB
/
build.gradle
File metadata and controls
51 lines (43 loc) · 1.52 KB
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
apply plugin: 'java'
apply plugin: 'idea'
group = 'com.github.tenbergen'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
compileJava.options.fork = true
if (!hasProperty('mainClass')) {
ext.mainClass = 'edu.oswego.cs.CPSLab.anki.MovementDemo'
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
// You may define additional repositories, or even remove "mavenCentral()".
// Read more about repositories here:
// http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:repositories
}
dependencies {
// TODO: Add dependencies here ...
// You can read more about how to add dependency here:
// http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:how_to_declare_your_dependencies
//testCompile group: 'junit', name: 'junit', version: '4.12'
//compile 'com.github.tenbergen:anki-drive-java:-SNAPSHOT'
//implementation 'com.github.tenbergen:anki-drive-java:-SNAPSHOT'
compile 'com.github.tenbergen:anki-drive-java:latest.integration'
implementation 'com.github.tenbergen:anki-drive-java:latest.integration'
}
idea {
module {
downloadSources = true
}
}
//added exec task for AnkiConnection test program
task ankiConnectionTest(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'edu.oswego.cs.CPSLab.AnkiConnectionTest'
}
sourceSets {
main {
resources {
srcDirs = ["src/main/java"]
includes = ["**/*.css","**/*.jpg","**/*.png"]
}
}
}