forked from WPIRoboticsEngineering/2001_Field_Controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (50 loc) · 1.36 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:5.1.0"
}
}
plugins {
id "com.diffplug.gradle.spotless" version "3.14.0"
}
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'checkstyle'
mainClassName = "edu.wpi.rbe.rbe2001.fieldsimulator.gui.Main"
group 'FieldSimulator'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/staging/' }
}
dependencies {
implementation "com.neuronrobotics:SimplePacketComsJava:0.10.1"
implementation "com.neuronrobotics:SimplePacketComsJava-HID:0.13.1"
compile 'com.googlecode.json-simple:json-simple:1.1.1'
//implementation project(":SimplePacketComsJava")
}
checkstyle {
toolVersion = "8.10"
configFile = new File(rootDir, "checkstyle.xml")
}
spotless {
format 'misc', {
target '**/*.gradle', '**/*.md', '**/.gitignore', '**/*.yml', '**/*.sh', '**/*.xml'
lineEndings 'UNIX'
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
}
shadowJar {
mainClassName = 'edu.wpi.rbe.rbe2001.fieldsimulator.gui.Main'
baseName = 'FieldControl'
classifier = null
version = '0.2.3'
mergeServiceFiles()
}