forked from strykeforce/thirdcoast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (49 loc) · 1.56 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
buildscript {
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.+'
classpath "edu.wpi.first:GradleRIO:2019.1.1"
classpath "com.diffplug.spotless:spotless-plugin-gradle:3.15.0"
}
}
configure(subprojects) {
group = 'org.strykeforce.thirdcoast'
version = '19.1.2'
apply plugin: 'java-library'
apply plugin: 'idea'
repositories {
jcenter()
}
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.25'
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
// Testing
testImplementation "org.junit.jupiter:junit-jupiter-params:5.+"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.+"
testImplementation "org.assertj:assertj-core:3.+"
testImplementation "org.mockito:mockito-junit-jupiter:2.+"
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.+"
testRuntime 'ch.qos.logback:logback-classic:1.2.3'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
sourceDirs += files('build/generated/source/kaptKotlin/main')
generatedSourceDirs += files('build/generated/source/kaptKotlin/main')
}
}
test {
useJUnitPlatform()
}
}
configure(subprojects - project(":deadeye")) {
apply plugin: "edu.wpi.first.GradleRIO"
dependencies {
compile wpi.deps.wpilib()
compile wpi.deps.vendor.java()
}
}