-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (44 loc) · 1001 Bytes
/
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 "edu.wpi.first.GradleRIO" version "2025.2.1"
id 'maven-publish'
}
group 'me.nabdev.oxconfig'
version '1.3.1'
java {
sourceCompatibility = '1.11'
targetCompatibility = '1.11'
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'
}
test {
useJUnitPlatform()
}
publishing {
publications {
OxConfig(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/FRCTeam3044/OxConfig"
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
}
}
}
}