-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
54 lines (44 loc) · 1.31 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
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id 'groovy'
id "com.gradle.plugin-publish" version "1.3.0"
}
version = '2025.0'
group = 'edu.wpi.first.wpilib.repositories'
if (project.hasProperty('publishVersion')) {
version = project.publishVersion
}
dependencies {
testImplementation 'junit:junit:4.12'
}
repositories {
mavenCentral()
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType(Javadoc) {
options.addBooleanOption('Xdoclint:all,-missing', true)
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
}
gradlePlugin {
website = 'https://github.com/wpilibsuite/wpilib-repositories-plugin'
vcsUrl = 'https://github.com/wpilibsuite/wpilib-repositories-plugin'
plugins {
WpilibTools {
id = 'edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin'
implementationClass = 'edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin'
displayName = 'WPILib Repositories Plugin'
description = 'This plugin provides maven remote settings for the WPILib Suite FRC projects.'
tags = ['maven', 'frc', 'wpilib', 'repositories']
}
}
}
wrapper {
gradleVersion = '8.11'
}