File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
src/main/java/org/gradlex/javamodule/moduleinfo Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Add this to the build file of your convention plugin's build
4747
4848```
4949dependencies {
50- implementation("org.gradlex:extra-java-module-info:1.3 ")
50+ implementation("org.gradlex:extra-java-module-info:1.4 ")
5151}
5252```
5353
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44}
55
66group = " org.gradlex"
7- version = " 1.3 "
7+ version = " 1.4 "
88
99java {
1010 sourceCompatibility = JavaVersion .VERSION_1_8
@@ -31,6 +31,11 @@ pluginPublishConventions {
3131 }
3232}
3333
34+ // TODO This needs to be included in org.gradlex.internal.plugin-publish-conventions
35+ signing {
36+ useInMemoryPgpKeys(providers.environmentVariable(" SIGNING_KEY" ).orNull, providers.environmentVariable(" SIGNING_PASSPHRASE" ).orNull)
37+ }
38+
3439tasks.test {
3540 description = " Runs tests against the Gradle version the plugin is built with"
3641 classpath = sourceSets.test.get().runtimeClasspath
Original file line number Diff line number Diff line change 1919class IdValidator {
2020 static private final String COORDINATES_PATTERN = "^[a-zA-Z0-9._-]+:[a-zA-Z0-9._-]+$" ;
2121 static private final String FILE_NAME_PATTERN = "^[a-zA-Z0-9._-]+\\ .(jar|zip)$" ;
22- static private final String MODULE_NAME_PATTERN = "^[a-z ][a-z0- 9_]*(\\ .[a-z0 -9_]+)*$" ;
22+ static private final String MODULE_NAME_PATTERN = "^[a-zA-Z ][a-zA-Z0- 9_]*(\\ .[a-zA-Z0 -9_]+)*$" ;
2323
2424 static void validateIdentifier (String identifier ) {
2525 if (!identifier .matches (COORDINATES_PATTERN ) && !identifier .matches (FILE_NAME_PATTERN )) {
You can’t perform that action at this time.
0 commit comments