-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
55 lines (44 loc) · 1.24 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
import org.gradle.internal.os.OperatingSystem;
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id "com.gradle.plugin-publish" version "1.3.0"
}
group 'edu.wpi.first'
version '2.1.0'
if (project.hasProperty('publishVersion')) {
version = project.publishVersion
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.code.gson:gson:2.8.6'
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
gradlePlugin {
website = 'https://github.com/wpilibsuite/wpilib-tool-plugin'
vcsUrl = 'https://github.com/wpilibsuite/wpilib-tool-plugin'
plugins {
WpilibTools {
id = 'edu.wpi.first.WpilibTools'
implementationClass = 'edu.wpi.first.tools.WpilibTools'
displayName = 'WPILib Gradle Tool Plugin'
description = 'This plugin provides easy to use JNI support for gradle.'
tags = ['groovy', 'jni', 'utils', 'maven', 'frc', 'wpilib']
}
}
}
tasks.withType(Javadoc) {
options.addBooleanOption('Xdoclint:all,-missing', true)
}
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
}
wrapper {
gradleVersion = '8.5'
}