Skip to content

Commit 32fb64b

Browse files
committed
add publication information
1 parent 6ecdb82 commit 32fb64b

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import edu.wpi.first.gradlerio.deploy.roborio.RoboRIO
33
plugins {
44
id "java"
55
id "edu.wpi.first.GradleRIO" version "2022.4.1"
6+
id "maven-publish"
67
}
78

89
sourceCompatibility = JavaVersion.VERSION_11
@@ -87,6 +88,19 @@ jar {
8788
duplicatesStrategy = DuplicatesStrategy.INCLUDE
8889
}
8990

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+
90104
// Configure jar and deploy tasks
91105
deployArtifact.jarTask = jar
92106
wpi.java.configureExecutableTasks(jar)

0 commit comments

Comments
 (0)