-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
37 lines (30 loc) · 922 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
34
35
36
37
import jaci.openrio.gradle.GradleRIOPlugin
import jaci.openrio.gradle.frc.FRCJavaArtifact
import jaci.openrio.gradle.frc.RoboRIO
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.2.71'
id "jaci.openrio.gradle.GradleRIO" version "2018.03.06"
}
group 'com.lynbrookrobotics'
version '0.0.1'
repositories.mavenCentral()
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile wpilib()
}
sourceCompatibility = 1.8
compileKotlin.kotlinOptions.jvmTarget = "1.8"
compileTestKotlin.kotlinOptions.jvmTarget = "1.8"
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
manifest GradleRIOPlugin.javaManifest('com.lynbrookrobotics.workshops.FunkyRobot')
}
deploy {
targets { target('roborio', RoboRIO) { team = 846 } }
artifacts {
artifact(rootProject.name, FRCJavaArtifact) {
targets << 'roborio'
}
}
}