-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (48 loc) · 1.26 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
plugins {
id 'java-library'
id "edu.wpi.first.GradleRIO" version "2023.4.3"
id 'maven-publish'
}
sourceCompatibility = '1.11'
targetCompatibility = '1.11'
group 'com.northeasternrobotics.wrappers'
version '0.1.2'
java {
withSourcesJar()
withJavadocJar()
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation wpi.java.deps.wpilib()
implementation wpi.java.vendor.java()
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
implementation 'org.json:json:20230227'
implementation group: 'com.amihaiemil.web', name: 'eo-yaml', version: '7.0.6'
implementation 'edu.wpi.first.wpilibj:wpilibj-java:2023.+'
implementation 'edu.wpi.first.wpimath:wpimath-java:2023.+'
implementation 'edu.wpi.first.ntcore:ntcore-java:2023.+'
}
test {
useJUnitPlatform()
}
publishing {
publications {
wrappers(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/NE-Robotics/wrappers"
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
}
}
}
}