diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml index 43c3c46..d0294d0 100644 --- a/.github/workflows/java-ci.yml +++ b/.github/workflows/java-ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java-versions: [8, 11, 17, 19 ] + java-versions: [11, 17, 19 ] fail-fast: false steps: - uses: actions/checkout@v4 diff --git a/build.gradle b/build.gradle index 2b19be7..7e2293b 100644 --- a/build.gradle +++ b/build.gradle @@ -24,6 +24,9 @@ plugins { group = 'com.configcat' version = '1.1.1' +sourceCompatibility = JavaVersion.VERSION_1_8 +targetCompatibility = JavaVersion.VERSION_1_8 + repositories { mavenCentral() } @@ -44,10 +47,6 @@ if(hasProperty('target') && target == 'android') { minSdkVersion 14 targetSdkVersion 25 } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } // Rename the aar correctly libraryVariants.all { variant ->