-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[acme] Update common files for branch 5.3.x (#459)
* Update common files * sonatype --------- Co-authored-by: Sergio del Amo <[email protected]>
- Loading branch information
1 parent
83b031b
commit dbf6b6c
Showing
5 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ repositories { | |
|
||
dependencies { | ||
implementation libs.gradle.micronaut | ||
implementation(libs.sonatype.scan) | ||
} |
10 changes: 10 additions & 0 deletions
10
buildSrc/src/main/groovy/io.micronaut.build.internal.acme-module.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
plugins { | ||
id "io.micronaut.build.internal.module" | ||
id "io.micronaut.build.internal.acme-base" | ||
id("org.sonatype.gradle.plugins.scan") | ||
} | ||
String ossIndexUsername = System.getenv("OSS_INDEX_USERNAME") ?: project.properties["ossIndexUsername"] | ||
String ossIndexPassword = System.getenv("OSS_INDEX_PASSWORD") ?: project.properties["ossIndexPassword"] | ||
boolean sonatypePluginConfigured = ossIndexUsername != null && ossIndexPassword != null | ||
if (sonatypePluginConfigured) { | ||
ossIndexAudit { | ||
username = ossIndexUsername | ||
password = ossIndexPassword | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters