forked from democat3457/swerve-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (40 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
plugins {
id 'java-library'
id 'maven-publish'
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
allprojects {
group 'com.swervedrivespecialties'
version '2024.1.0.1'
repositories {
mavenCentral()
maven { url = uri('https://frcmaven.wpi.edu/artifactory/release/') }
// CTRE
maven { url = uri('https://maven.ctr-electronics.com/release/') }
// REV
maven { url = uri('https://maven.revrobotics.com/') }
}
}
dependencies {
implementation "edu.wpi.first.wpilibj:wpilibj-java:${wpilib_version}"
implementation "edu.wpi.first.wpiutil:wpiutil-java:${wpilib_version}"
implementation "edu.wpi.first.wpimath:wpimath-java:${wpilib_version}"
// CTRE is implementation because it is not a hard requirement
implementation "com.ctre.phoenix:api-java:${ctre_phoenix_version}"
implementation "com.ctre.phoenix:wpiapi-java:${ctre_phoenix_version}"
// REV is implementation because it is not a hard requirement
implementation "com.revrobotics.frc:REVLib-java:${revlib_version}"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
publishing {
publications {
mavenJava(MavenPublication) {
artifact jar
}
}
}
test {
useJUnitPlatform()
}