diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 9c62d3aa..bf24128d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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 }} @@ -65,7 +65,7 @@ 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 }} @@ -73,12 +73,12 @@ jobs: 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: @@ -86,7 +86,7 @@ jobs: 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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2667adac..a6556c09 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/build.gradle b/build.gradle index d7697e86..eeb8e1c7 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } } @@ -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 -> diff --git a/gradle.properties b/gradle.properties index e8f0ec40..fb7a2a65 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/grails-plugin/build.gradle b/grails-plugin/build.gradle index 4ec6a0d0..587c77d1 100644 --- a/grails-plugin/build.gradle +++ b/grails-plugin/build.gradle @@ -1,5 +1,5 @@ -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +sourceCompatibility = 1.11 +targetCompatibility = 1.11 dependencyManagement { imports {