Skip to content

Commit af571d6

Browse files
committed
Release 1.4
1 parent 604b746 commit af571d6

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Add this to the build file of your convention plugin's build
4747

4848
```
4949
dependencies {
50-
implementation("org.gradlex:extra-java-module-info:1.3")
50+
implementation("org.gradlex:extra-java-module-info:1.4")
5151
}
5252
```
5353

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "org.gradlex"
7-
version = "1.3"
7+
version = "1.4"
88

99
java {
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+
3439
tasks.test {
3540
description = "Runs tests against the Gradle version the plugin is built with"
3641
classpath = sourceSets.test.get().runtimeClasspath

src/main/java/org/gradlex/javamodule/moduleinfo/IdValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class 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)) {

0 commit comments

Comments
 (0)