Skip to content

Commit

Permalink
Revert "Updating develop (#193)" (#194)
Browse files Browse the repository at this point in the history
This reverts commit 26c0345.
  • Loading branch information
ruthvikm authored Mar 14, 2024
1 parent 26c0345 commit 45c121d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-library-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
distribution: 'adopt'
cache: 'gradle'
- name: Change wrapper permissions
run: chmod +x pi4micronaut-utils/gradlew
Expand Down
14 changes: 9 additions & 5 deletions pi4micronaut-utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ java {
targetCompatibility = JavaVersion.toVersion("17")
}

tasks.build.dependsOn tasks.shadowJar

tasks.named('build').configure {
dependsOn 'javadoc'
copy {
Expand Down Expand Up @@ -102,7 +104,7 @@ publishing {
pom {
name = 'pi4micronaut-utils'
packaging = 'jar'
description = 'A Java-based library that uses the Micronaut framework and Pi4J to simplify the use of electronic components connected to a Raspberry Pi through GPIO '
description = 'A Micronaut based library built to simplify using Micronaut with Raspberry Pi and external hardware components'
url = "https://github.com/oss-slu/Pi4Micronaut"

licenses {
Expand Down Expand Up @@ -160,11 +162,13 @@ publishing {
}
}
}
}

signing {
useInMemoryPgpKeys(System.getenv('GPG_KEY'), System.getenv('GPG_PASSWORD'))
signing {
required {
def signingKey = project.findProperty('GPG_KEY') ?: System.getenv('GPG_KEY')
def signingPassword = project.findProperty('GPG_PASSWORD') ?: System.getenv('GPG_PASSWORD')
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mavenJava
}
}


0 comments on commit 45c121d

Please sign in to comment.