-
Notifications
You must be signed in to change notification settings - Fork 76
/
build.gradle
50 lines (38 loc) · 1.17 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
plugins {
id 'java-library'
id 'maven-publish'
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
allprojects {
group 'com.swervedrivespecialties'
version '1.1.0'
repositories {
mavenCentral()
maven { url = uri('https://frcmaven.wpi.edu/artifactory/release/') }
// CTRE
maven { url = uri('https://devsite.ctr-electronics.com/maven/release/') }
// REV
maven { url = uri('https://maven.revrobotics.com/') }
}
}
dependencies {
implementation 'edu.wpi.first.wpilibj:wpilibj-java:2022.1.1'
// CTRE is implementation because it is not a hard requirement
implementation 'com.ctre.phoenix:api-java:5.20.2'
implementation 'com.ctre.phoenix:wpiapi-java:5.20.2'
// REV is implementation because it is not a hard requirement
implementation 'com.revrobotics.frc:REVLib-java:2022.1.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
test {
useJUnitPlatform()
}