Skip to content

Commit

Permalink
Merge pull request #164 from dmytrodanylyk/Java17
Browse files Browse the repository at this point in the history
Java 17
  • Loading branch information
hannesa2 authored Oct 6, 2023
2 parents 42bb805 + 8591598 commit 316ac86
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Android-CI-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
java-version: 17

- name: Install Android SDK
uses: malinskiy/action-android/install-sdk@release/0.1.4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Android-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
java_version: [ 11 ]
java_version: [ 17 ]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java_version: [ 11 ]
java_version: [ 17 ]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jdk:
- openjdk11
- openjdk17
install:
- ./gradlew :library:build :library:publishToMavenLocal -x :library:test
- find . -name "*.aar"
4 changes: 4 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
namespace 'com.dd.circular.progress.button'
}

Expand Down
5 changes: 4 additions & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
namespace 'com.dd.sample'

}

dependencies {
Expand Down

0 comments on commit 316ac86

Please sign in to comment.