Skip to content

Commit

Permalink
Minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
sbglasius committed Aug 23, 2023
1 parent c93e166 commit 11d8e53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ subprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8

tasks.withType(Test) {
tasks.withType(Test).configureEach {
useJUnitPlatform()
testLogging {
events "failed"
Expand Down Expand Up @@ -87,12 +87,12 @@ tasks.withType(io.github.gradlenexus.publishplugin.InitializeNexusStagingReposit
shouldRunAfter(tasks.withType(Sign))
}

task snapshotVersion {
tasks.register('snapshotVersion') {
doLast {
if (!project.version.endsWith('-SNAPSHOT')) {
ant.propertyfile(file: "gradle.properties") {
entry(key: "projectVersion", value: "${project.version}-SNAPSHOT")
}
}
}
}
}
2 changes: 1 addition & 1 deletion docs/src/asciidoc/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ In your `build.gradle` insert into your `dependencies`:

[source,groovy,subs="attributes"]
----
compile 'org.grails.plugins:i18n-enums:{version}'
implementation 'org.grails.plugins:i18n-enums:{version}'
----
2 changes: 0 additions & 2 deletions docs/src/asciidoc/introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ Send me a tweet *@sbglasius* or an email *[email protected]* - thank you!

This documentation also applies for the latest v1.0.8 of the plugin (for Grails 2.x), except for using the `I18nEnumTrait`.



### License
Licensed under the Apache2.0 license. See http://www.apache.org/licenses/LICENSE-2.0 for more information.

0 comments on commit 11d8e53

Please sign in to comment.