Skip to content

Update library 20240920#15

Merged
caad1229 merged 19 commits intomainfrom
update-library-20240920
Sep 25, 2024
Merged

Update library 20240920#15
caad1229 merged 19 commits intomainfrom
update-library-20240920

Conversation

@caad1229
Copy link
Contributor

@caad1229 caad1229 commented Sep 25, 2024

色々と古かったので更新しました。

  • build.gradle を kts に変更
  • android 実機テストコードを削除
  • version catalog に移行
  • 最新のバージョンにすべて上げた (kotlin 2.0 も)

動作確認は #9 で確認しました。(このブランチを取り込み済みです)
dagger hilt とかいくつかのライブラリは未確認ですが、基本動作に必要なものだけとして許容。

app inspection で DB, network での通信は確認しています。

@caad1229 caad1229 self-assigned this Sep 25, 2024
Comment on lines -43 to -45
composeOptions {
kotlinCompilerExtensionVersion = "1.5.11"
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kotlin 2.0 から plugin 入れると compiler のバージョンを気にしなくて良いので build.gradle.kts では削除しています。
https://developer.android.com/develop/ui/compose/compiler?hl=ja

alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.google.dagger.hilt.android)
alias(libs.plugins.androidx.room)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@Yamada-Ika Yamada-Ika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

コメントしましたが、マージしちゃっても大丈夫かなと思います!

@@ -0,0 +1,164 @@
[versions]
agp = "8.6.1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8.6.1 だと feature drop ではない普通の koala でビルドできなくなるんですよね
👇の記事を読んで、feature drop koala が stable と理解している人がどれくらいいるか気にはなりました
https://android-developers.googleblog.com/2024/08/android-studio-koala-feature-drop-is-stable.html

8.6.0 の方がトラブル(面接時にAS再インストールなど)は少なそうに思いました👀
(まあ revert すれば良さそうなので、大丈夫そうですかね)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stable なら基本的に Android Studio でアップデートできそうなのであまり意識してませんでしたねぇ。
release note を見ると koala だと 3.5 で feature drop koala だと 3.6 からっぽいですが、

8.6.1 だと feature drop ではない普通の koala でビルドできなくなるんですよね

これって 8.6.0 だと koala だとビルドできるということです?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

例えば使っている AS が koala とかだったら、こちらを 8.5.0 とかに変更してもらえばビルドはできるはずだと思います!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

すみません、間違えました
8.5.0 とかだと koala でビルドできると思います

Koala | 2024.1.1 | 3.2-8.5

https://developer.android.com/studio/releases#:~:text=Android%20Studio.-,Android%20Studio%20version,-Required%20AGP%20version

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

例えば使っている AS が koala とかだったら、こちらを 8.5.0 とかに変更してもらえばビルドはできるはずだと思います!

これは確かにですね🙇
普通に 8.5.0 にしたら動作確認用のブランチでもビルドできましたmm

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なので大丈夫そうです!!!

@caad1229
Copy link
Contributor Author

レビューありがとうございました!!

@caad1229 caad1229 merged commit 1b7214f into main Sep 25, 2024
@caad1229 caad1229 deleted the update-library-20240920 branch September 25, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants