-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (55 loc) · 1.38 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
60
61
62
63
64
65
66
67
68
69
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.20'
id "edu.wpi.first.GradleRIO" version "2019.3.2"
id 'org.snakeskin.snakeskin-gradle' version '1.4'
}
group 'org.team401'
version '1.0'
repositories {
mavenCentral()
maven {
url "http://maven.team401.org/artifactory/frc"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile wpi.deps.wpilib()
compile wpi.deps.vendor.java()
nativeZip wpi.deps.vendor.jni(wpi.platforms.roborio)
compile "org.team401:Taxis:1.3"
// https://mvnrepository.com/artifact/org.knowm.xchart/xchart
compile group: 'org.knowm.xchart', name: 'xchart', version: '3.5.4'
compile 'com.github.team401:LightLink-Java:1.1'
compile 'com.google.code.gson:gson:2.8.5'
}
snakeskin {
version "2.0"
modules {
core()
frc()
ctre()
}
}
deploy {
targets {
target("rio", edu.wpi.first.gradlerio.frc.RoboRIO) {
team = 401
}
}
artifacts {
artifact("robot2019", edu.wpi.first.gradlerio.frc.FRCJavaArtifact) {
targets << "rio"
debug = Boolean.parseBoolean(System.getProperty("deployDebug") ?: "false")
jar = "jar"
}
}
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
wrapper {
gradleVersion = "5.0"
}