|
1 | 1 | plugins { |
2 | | - id "com.gradle.plugin-publish" version "0.15.0" |
| 2 | + id "com.gradle.plugin-publish" version "1.2.1" |
3 | 3 | id 'java-gradle-plugin' |
4 | 4 | id 'maven-publish' |
5 | 5 | id 'groovy' |
6 | 6 | id 'java' |
7 | | - id 'idea' |
8 | 7 | } |
9 | 8 |
|
10 | | -sourceCompatibility = 11 |
11 | | -targetCompatibility = 11 |
| 9 | +java { |
| 10 | + sourceCompatibility = 11 |
| 11 | + targetCompatibility = 11 |
| 12 | +} |
12 | 13 |
|
13 | 14 | allprojects { |
14 | 15 | group = "edu.wpi.first" |
@@ -48,19 +49,16 @@ tasks.withType(JavaCompile) { |
48 | 49 | options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" |
49 | 50 | } |
50 | 51 |
|
51 | | -pluginBundle { |
| 52 | +gradlePlugin { |
52 | 53 | website = 'https://github.com/wpilibsuite/native-utils' |
53 | 54 | vcsUrl = 'https://github.com/wpilibsuite/native-utils' |
54 | | - description = 'This plugin provides native build utilities for FRC projects.' |
55 | | - tags = ['groovy', 'native', 'utils', 'maven', 'frc', 'wpilib'] |
56 | | -} |
57 | | - |
58 | | -gradlePlugin { |
59 | 55 | plugins { |
60 | 56 | NativeUtils { |
61 | 57 | id = 'edu.wpi.first.NativeUtils' |
62 | 58 | displayName = 'NativeUtils' |
63 | 59 | implementationClass = 'edu.wpi.first.nativeutils.NativeUtils' |
| 60 | + description = 'This plugin provides native build utilities for FRC projects.' |
| 61 | + tags = ['groovy', 'native', 'utils', 'maven', 'frc', 'wpilib'] |
64 | 62 | } |
65 | 63 | } |
66 | 64 | } |
@@ -99,3 +97,8 @@ tasks.register('PatchExamples') { |
99 | 97 |
|
100 | 98 | build.dependsOn PatchExamples |
101 | 99 | jar.finalizedBy PatchExamples |
| 100 | + |
| 101 | +wrapper { |
| 102 | + gradleVersion = '8.5' |
| 103 | + distributionType = Wrapper.DistributionType.BIN |
| 104 | +} |
0 commit comments