Skip to content

Commit

Permalink
Merge pull request #572 from grails/renovate/io.github.gradle-nexus-p…
Browse files Browse the repository at this point in the history
…ublish-plugin-1.x

Update dependency io.github.gradle-nexus:publish-plugin to v1.3.0
  • Loading branch information
puneetbehl authored May 4, 2023
2 parents 884e1ec + 5ba097e commit 7c10e5a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['8', '11', '14']
java: ['11', '14']
mongodb-version: ['4.0']
env:
WORKSPACE: ${{ github.workspace }}
Expand Down Expand Up @@ -65,28 +65,28 @@ jobs:
- name: Publish to repo.grails.org
id: publish
uses: gradle/gradle-build-action@v2
if: steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '8'
if: steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '11'
env:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
with:
arguments: -Dorg.gradle.internal.publish.checksums.insecure=true publish
- name: Build Docs
id: docs
if: steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '8'
if: steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '11'
uses: gradle/gradle-build-action@v2
with:
arguments: docs:docs
- name: Determine docs target repository
if: steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '8'
if: steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '11'
uses: haya14busa/action-cond@v1
id: docs_target
with:
cond: ${{ github.repository == 'grails/gorm-mongodb' }}
if_true: "grails/grails-data-mapping"
if_false: ${{ github.repository }}
- name: Publish to Github Pages
if: steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '8'
if: steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '11'
uses: micronaut-projects/github-pages-deploy-action@master
env:
TARGET_REPOSITORY: ${{ steps.docs_target.outputs.value }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['8']
java: ['11']
env:
GIT_USER_NAME: puneetbehl
GIT_USER_EMAIL: behlp@objectcomputing.com
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.6.1'
classpath "gradle.plugin.com.energizedwork.webdriver-binaries:webdriver-binaries-gradle-plugin:$webdriverBinariesVersion"
classpath "org.grails.plugins:views-gradle:2.3.2"
classpath "io.github.gradle-nexus:publish-plugin:1.1.0"
classpath "io.github.gradle-nexus:publish-plugin:1.3.0"
}
}

Expand Down Expand Up @@ -201,8 +201,8 @@ subprojects { project ->
apply plugin: 'maven-publish'
apply plugin: 'signing'

sourceCompatibility = "1.8"
targetCompatibility = "1.8"
sourceCompatibility = "1.11"
targetCompatibility = "1.11"

configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mongoJavaServerVersion=1.28.0
mongodbDriverVersion=4.5.0
mongodbRxDriverVersion=1.10.0
pluginGrailsVersion=5.2.2
projectVersion=7.3.1-SNAPSHOT
projectVersion=8.0.0-SNAPSHOT
seleniumSafariDriverVersion=3.14.0
seleniumVersion=3.14.0
spockVersion=2.1-groovy-3.0
Expand Down
4 changes: 2 additions & 2 deletions grails-plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = 1.11
targetCompatibility = 1.11

dependencyManagement {
imports {
Expand Down

0 comments on commit 7c10e5a

Please sign in to comment.