diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d70201b6..97befb2d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -108,6 +108,8 @@ jobs: - java: 11 RUNTIME: wlp name: ${{ matrix.RUNTIME }} ${{ matrix.RUNTIME_VERSION }}, Java ${{ matrix.java }}, Windows + env: + TEST_EXCLUDE: ${{ ((matrix.java == '8') && '**/TestCreateWithConfigDir*,**/Polling*,**/LibertyTest*,**/GenerateFeaturesTest*,**/TestSpringBootApplication30*,**/DevContainerTest*') || '**/Polling*,**/LibertyTest*,**/GenerateFeaturesTest*,**/TestSpringBootApplication30*,**/DevContainerTest*' }} steps: # Checkout repos - name: Checkout ci.gradle @@ -157,7 +159,8 @@ jobs: - name: Run tests with Gradle on Windows working-directory: C:/ci.gradle # LibertyTest is excluded because test0_run hangs - run: ./gradlew clean install check -P"test.exclude"="**/Polling*,**/LibertyTest*,**/GenerateFeaturesTest*,**/TestSpringBootApplication30*,**/DevContainerTest*" -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" --stacktrace --info --no-daemon + # For Java 8, TestCreateWithConfigDir is excluded because test_micro_clean_liberty_plugin_variable_config runs out of memory + run: ./gradlew clean install check -P"test.exclude"="${{env.TEST_EXCLUDE}}" -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}" --stacktrace --info --no-daemon timeout-minutes: 75 # Copy build reports and upload artifact if build failed - name: Copy build/report/tests/test for upload diff --git a/build.gradle b/build.gradle index 7e38bbe7..1e6f6ef8 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ apply plugin: "com.gradle.plugin-publish" archivesBaseName = 'liberty-gradle-plugin' group = 'io.openliberty.tools' -version = '3.7.1-SNAPSHOT' +version = '3.8-SNAPSHOT' repositories { mavenLocal() @@ -59,8 +59,8 @@ compileTestGroovy { targetCompatibility = JavaVersion.VERSION_1_8 } -def libertyAntVersion = "1.9.14-SNAPSHOT" -def libertyCommonVersion = "1.8.30-SNAPSHOT" +def libertyAntVersion = "1.9.14" +def libertyCommonVersion = "1.8.30" dependencies { implementation gradleApi()