-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
50 lines (44 loc) · 1.42 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
plugins {
id "java"
id "eclipse"
id "idea"
id "jaci.openrio.gradle.GradleRIO" version "2017.10.30"
}
deploy {
targets {
target('roborio', jaci.openrio.gradle.frc.RoboRIO) {
team = 5506
// Other values can be edited through EmbeddedTools.
// See https://github.com/JacisNonsense/EmbeddedTools#spec
}
// Other targets can be edited through EmbeddedTools.
// See https://github.com/JacisNonsense/EmbeddedTools#spec
}
artifacts {
// Setup a Java Artifact. Required for Java Users.
artifact('Steamworks', jaci.openrio.gradle.frc.FRCJavaArtifact) {
targets << 'roborio'
// Other values can be edited through EmbeddedTools.
// See https://github.com/JacisNonsense/EmbeddedTools#spec
}
// Other artifacts can be edited through EmbeddedTools.
// See https://github.com/JacisNonsense/EmbeddedTools#spec
}
}
repositories {
mavenCentral()
}
dependencies {
compile wpilib()
compile ctre()
compile navx()
compile "org.java-websocket:Java-WebSocket:1.3.4"
compile "com.fasterxml.jackson.core:jackson-databind:2.6.3"
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
manifest jaci.openrio.gradle.GradleRIOPlugin.javaManifest('com.midcoastmaineiacs.Steamworks.Main')
}
task wrapper(type: Wrapper) {
gradleVersion = '4.2.1'
}