We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ecdb82 commit 32fb64bCopy full SHA for 32fb64b
1 file changed
build.gradle
@@ -3,6 +3,7 @@ import edu.wpi.first.gradlerio.deploy.roborio.RoboRIO
3
plugins {
4
id "java"
5
id "edu.wpi.first.GradleRIO" version "2022.4.1"
6
+ id "maven-publish"
7
}
8
9
sourceCompatibility = JavaVersion.VERSION_11
@@ -87,6 +88,19 @@ jar {
87
88
duplicatesStrategy = DuplicatesStrategy.INCLUDE
89
90
91
+
92
+publishing {
93
+ publications {
94
+ gpr(MavenPublication) {
95
+ groupId = 'org.carlmontrobotics'
96
+ artifactId = 'lib199'
97
+ version = '1.0.0'
98
99
+ from components.java
100
+ }
101
102
+}
103
104
// Configure jar and deploy tasks
105
deployArtifact.jarTask = jar
106
wpi.java.configureExecutableTasks(jar)
0 commit comments