-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
65 lines (54 loc) · 1.68 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
60
61
62
63
64
65
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id 'groovy'
id 'java'
id "com.gradle.plugin-publish" version "0.15.0"
}
dependencies {
implementation 'org.ajoberstar.grgit:grgit-core:5.0.0'
testImplementation 'junit:junit:4.12'
testImplementation 'com.github.stefanbirkner:system-rules:1.19.0'
testImplementation 'com.github.stefanbirkner:system-lambda:1.1.1'
}
repositories {
maven {
url = 'https://frcmaven.wpi.edu/artifactory/ex-mvn'
}
}
version = '2024.0.0'
group = 'edu.wpi.first.wpilib.versioning'
pluginBundle {
website = 'https://github.com/wpilibsuite/wpilib-version-plugin'
vcsUrl = 'https://github.com/wpilibsuite/wpilib-version-plugin'
description = 'This plugin provides maven remote settings and versioning for the WPILib Suite FRC projects.'
tags = ['groovy', 'version', 'maven', 'frc', 'wpilib']
plugins {
wpilibVersionPlugin {
id = 'edu.wpi.first.wpilib.versioning.WPILibVersioningPlugin'
displayName = 'WPILib Version Plugin'
}
}
}
gradlePlugin {
plugins {
wpilibVersionPlugin {
id = 'edu.wpi.first.wpilib.versioning.WPILibVersioningPlugin'
implementationClass = 'edu.wpi.first.wpilib.versioning.WPILibVersioningPlugin'
}
}
}
tasks.withType(Test).configureEach {
jvmArgs(["--add-opens=java.base/java.lang=ALL-UNNAMED",
"--add-opens=java.base/java.util=ALL-UNNAMED"])
}
tasks.withType(Javadoc) {
options.addBooleanOption('Xdoclint:all,-missing', true)
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
}
wrapper {
gradleVersion = '7.5.1'
}