-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
45 lines (39 loc) · 1.2 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
buildscript {
repositories {
mavenCentral()
maven {
name = "GradleRIO"
url = "http://dev.imjac.in/maven"
}
}
dependencies {
classpath group: 'jaci.openrio.gradle', name: 'GradleRIO', version: '+', classifier: 'Toast' //Change this line if you wish to Update GradleRIO
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'GradleRIO' //Apply the GradleRIO plugin
repositories {
maven {
name = "Toast"
url = "http://dev.imjac.in/maven"
}
}
configurations {
buildJars
}
gradlerio.team = "5333" //Your FRC team number (e.g. 5333 for team 'Can't C#', or 47 for Chief Delphi)
//gradlerio.rioIP = "10.53.33.20" //Uncomment to specify the IP address of the RIO
gradlerio.deployFile = "toast/modules/${archivesBaseName}.jar"
dependencies {
compile group: 'jaci.openrio.toast', name: 'Toast', version: '+'
compile group: 'jaci.openrio.lua', name: 'ToastLua', version: '+'
buildJars group: 'jaci.openrio.lua', name: 'ToastLua', version: '+'
}
jar {
from configurations.buildJars.collect {
it.isDirectory() ? it : zipTree(it)
}
}