Skip to content

Commit

Permalink
Merge pull request #266 from uhooi/feature/bump_as_to_flamingo
Browse files Browse the repository at this point in the history
Bump AS from Electric Eel to Flamingo
  • Loading branch information
uhooi committed Jul 26, 2023
2 parents fdb1b1c + 6b91019 commit 20f25af
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: ./.github/workflows/templates/setup-android

- name: Run Inspection
run: ./gradlew lint

Expand All @@ -78,6 +80,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: ./.github/workflows/templates/setup-android

- name: Lint with detekt
run: ./gradlew detekt

Expand All @@ -96,6 +100,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: ./.github/workflows/templates/setup-android

- name: Install ktlint
run: |
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.42.1/ktlint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/templates/setup-android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description: "Install dependencies for Android"
runs:
using: "composite"
steps:
- name: Setup JDK 11
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
java-version: '17'

- uses: actions/cache@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can develop this project.

### Environment

- Android Studio: Electric Eel | 2022.1.1 Patch 1
- Android Studio: Flamingo | 2022.2.1 Patch 2

### Configuration

Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = "11"
jvmTarget = "17"
}

testOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ class MainActivity : AppCompatActivity() {
ColorDrawable(
MaterialColors.getColor(
this,
R.attr.colorPrimary,
androidx.appcompat.R.attr.colorPrimary,
"colorPrimary is not set in the current theme"
)
)
)
window.statusBarColor = MaterialColors.getColor(
this,
R.attr.colorPrimaryVariant,
com.google.android.material.R.attr.colorPrimaryVariant,
"colorPrimaryVariant is not set in the current theme"
)
}
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ kotlin.code.style=official

org.gradle.caching=true
org.gradle.configureondemand=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=true
android.nonFinalResIds=false
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ kotlinx-coroutines-play-services = { group = "org.jetbrains.kotlinx", name = "ko
leakcanary = { group = "com.squareup.leakcanary", name = "leakcanary-android", version.ref = "leakcanary" }
leakcanary-instrumentation = { group = "com.squareup.leakcanary", name = "leakcanary-android-instrumentation", version.ref = "leakcanary" }
material = { group = "com.google.android.material", name = "material", version = "1.8.0" }
robolectric = { group = "org.robolectric", name = "robolectric", version = "4.6.1" }
robolectric = { group = "org.robolectric", name = "robolectric", version = "4.10.3" }
timber = { group = "com.jakewharton.timber", name = "timber", version = "5.0.1" }

[plugins]
android-application = { id = "com.android.application", version = "7.4.2" }
android-application = { id = "com.android.application", version = "8.0.2" }
detekt = { id = "io.gitlab.arturbosch.detekt", version = "1.17.0" }
firebase-crashlytics = { id = "com.google.firebase.crashlytics", version = "2.9.4" }
firebase-perf = { id = "com.google.firebase.firebase-perf", version = "1.4.2" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip

0 comments on commit 20f25af

Please sign in to comment.