Skip to content

Commit

Permalink
update gradle/AGP/3rd party deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby committed Jul 25, 2023
1 parent 00058b3 commit 5ec36aa
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 11
java-version: 17
distribution: temurin
cache: gradle
- name: Check with Gradle
Expand Down
24 changes: 13 additions & 11 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ android {
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

lintOptions {
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
Expand All @@ -63,6 +58,14 @@ android {
buildFeatures {
viewBinding true
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
}

repositories {
Expand All @@ -78,13 +81,12 @@ dependencies {

implementation("com.noveogroup.android:android-logger:1.3.6")

implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}")
implementation("org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.coroutines}")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:${versions.coroutines}")


implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

implementation 'com.journeyapps:zxing-android-embedded:4.3.0'

Expand All @@ -103,7 +105,7 @@ dependencies {

testImplementation 'org.hamcrest:hamcrest-core:2.2'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test:rules:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test:rules:1.5.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
buildscript {
ext {
versions = [
kotlin: '1.6.21',
coroutines: '1.6.0',
androidxLifecycle: '2.4.0',
kotlin: '1.9.0',
coroutines: '1.7.2',
androidxLifecycle: '2.6.1',
ziti: '0.23.11'
]
}
Expand All @@ -20,7 +20,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"

// NOTE: Do not place your application dependencies here; they belong
Expand Down
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ org.gradle.jvmargs=-Xmx1536m
# org.gradle.parallel=true

android.useAndroidX=true
android.enableJetifier=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Tue Jul 25 16:37:34 EDT 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 5ec36aa

Please sign in to comment.