-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
59 lines (45 loc) · 1.76 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
plugins {
id 'java-library'
id 'maven-publish'
id 'net.ltgt.errorprone'
}
test {
useJUnit()
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
allprojects {
group = 'org.frcteam2910.common'
version = '2023.0.0'
repositories {
mavenCentral()
maven {
url = 'https://frcmaven.wpi.edu/artifactory/release/'
}
}
}
dependencies {
api group: 'edu.wpi.first.wpimath', name: 'wpimath-java', version: '2023.1.1'
api group: 'edu.wpi.first.wpimath', name: 'wpimath-jni', version: '2023.1.1', classifier: 'windowsx86-64'
api group: 'edu.wpi.first.wpiutil', name: 'wpiutil-java', version: '2023.1.1'
api group: 'edu.wpi.first.wpiutil', name: 'wpiutil-jni', version: '2023.1.1', classifier: 'windowsx86-64'
api group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.12.4'
api group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.12.4'
api group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.4'
compileOnly group: 'com.google.errorprone', name: 'error_prone_annotations', version: '2.10.0'
api group: 'org.ejml', name: 'ejml-simple', version: '0.38'
api group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation group: "com.github.sh0nk", name: "matplotlib4j", version: '0.4.0'
errorprone group: 'com.google.errorprone', name: 'error_prone_core', version: '2.10.0'
}
tasks.withType(JavaCompile).configureEach {
options.errorprone.disableWarningsInGeneratedCode = true
}
publishing {
publications {
common(MavenPublication) {
from components.java
}
}
}