Skip to content

Commit

Permalink
Release 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohannes committed Apr 27, 2023
1 parent 604b746 commit af571d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Add this to the build file of your convention plugin's build

```
dependencies {
implementation("org.gradlex:extra-java-module-info:1.3")
implementation("org.gradlex:extra-java-module-info:1.4")
}
```

Expand Down
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "org.gradlex"
version = "1.3"
version = "1.4"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand All @@ -31,6 +31,11 @@ pluginPublishConventions {
}
}

// TODO This needs to be included in org.gradlex.internal.plugin-publish-conventions
signing {
useInMemoryPgpKeys(providers.environmentVariable("SIGNING_KEY").orNull, providers.environmentVariable("SIGNING_PASSPHRASE").orNull)
}

tasks.test {
description = "Runs tests against the Gradle version the plugin is built with"
classpath = sourceSets.test.get().runtimeClasspath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class IdValidator {
static private final String COORDINATES_PATTERN = "^[a-zA-Z0-9._-]+:[a-zA-Z0-9._-]+$";
static private final String FILE_NAME_PATTERN = "^[a-zA-Z0-9._-]+\\.(jar|zip)$";
static private final String MODULE_NAME_PATTERN = "^[a-z][a-z0-9_]*(\\.[a-z0-9_]+)*$";
static private final String MODULE_NAME_PATTERN = "^[a-zA-Z][a-zA-Z0-9_]*(\\.[a-zA-Z0-9_]+)*$";

static void validateIdentifier(String identifier) {
if (!identifier.matches(COORDINATES_PATTERN) && !identifier.matches(FILE_NAME_PATTERN)) {
Expand Down

0 comments on commit af571d6

Please sign in to comment.