Skip to content

Commit

Permalink
Merge pull request #1554 from NASA-AMMOS/fix/publish-type-utils
Browse files Browse the repository at this point in the history
Publish type-utils
  • Loading branch information
dandelany authored Sep 10, 2024
2 parents 605c023 + 1955937 commit cceb2a9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions type-utils/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'java'
id 'maven-publish'
}

java {
Expand All @@ -21,3 +22,25 @@ dependencies {
test {
useJUnitPlatform()
}

publishing {
publications {
library(MavenPublication) {
version = findProperty('publishing.version')
from components.java
}
}

publishing {
repositories {
maven {
name = findProperty("publishing.name")
url = findProperty("publishing.url")
credentials {
username = System.getenv(findProperty("publishing.usernameEnvironmentVariable"))
password = System.getenv(findProperty("publishing.passwordEnvironmentVariable"))
}
}
}
}
}

0 comments on commit cceb2a9

Please sign in to comment.