File tree Expand file tree Collapse file tree 3 files changed +17
-8
lines changed
Expand file tree Collapse file tree 3 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 1+ def versions = new Properties ()
2+ file(' ../gradle.properties' ). withInputStream {
3+ versions. load(it)
4+ }
5+
16repositories {
27 mavenCentral()
3- maven { url ' https://repo.grails.org/grails/core' }
8+ maven { url = ' https://repo.grails.org/grails/core' }
49}
10+
511dependencies {
6- implementation ' org.grails:grails-gradle-plugin:6.1.0'
7- implementation ' org.grails.plugins:hibernate5:8.0.1'
8- implementation ' io.github.gradle-nexus:publish-plugin:1.3.0'
9- implementation ' com.bertramlabs.plugins:asset-pipeline-gradle:4.4.0'
12+ implementation " org.grails:grails-gradle-plugin:${ versions['grailsGradlePluginVersion']} "
13+ implementation " io.github.gradle-nexus:publish-plugin:${ versions['nexusPublishVersion']} "
14+ implementation " com.bertramlabs.plugins:asset-pipeline-gradle:${ versions['assetPipelineVersion']} "
1015}
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ grailsQuartzVersion=2.0.13
1313quartzCoreVersion =2.3.2
1414spockVersion =2.3-groovy-3.0
1515
16+ # This prevents the Grails Gradle Plugin from unnecessarily excluding slf4j-simple in the generated POMs
17+ # https://github.com/grails/grails-gradle-plugin/issues/222
18+ slf4jPreventExclusion =true
19+
1620org.gradle.daemon =true
1721org.gradle.parallel =true
1822org.gradle.jvmargs =-Dfile.encoding=UTF-8 -Xmx1024M
Original file line number Diff line number Diff line change @@ -99,15 +99,15 @@ afterEvaluate {
9999 }
100100}
101101
102- tasks. withType(Sign ) {
102+ tasks. withType(Sign ). configureEach {
103103 onlyIf { isReleaseVersion }
104104}
105105
106106nexusPublishing {
107107 repositories {
108108 sonatype {
109- nexusUrl = uri(' https://s01.oss .sonatype.org /service/local' )
110- snapshotRepositoryUrl = uri(' https://s01.oss. sonatype.org/content/repositories/ snapshots' )
109+ nexusUrl = uri(' https://ossrh-staging-api.central .sonatype.com /service/local/ ' )
110+ snapshotRepositoryUrl = uri(' https://central. sonatype.com/repository/maven- snapshots/ ' )
111111 username = System . getenv(' SONATYPE_USERNAME' )
112112 password = System . getenv(' SONATYPE_PASSWORD' )
113113 stagingProfileId = System . getenv(' SONATYPE_STAGING_PROFILE_ID' )
You can’t perform that action at this time.
0 commit comments