-
Notifications
You must be signed in to change notification settings - Fork 0
Update/env #308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update/env #308
Changes from all commits
6121beb
913cd69
1458a4c
435155e
03f4179
e88df44
ae8ceb0
4285d71
4f362a3
ef33fd5
faf70b9
380dca8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,11 @@ | ||
| # Androidアプリ | ||
|
|
||
| ### 開発環境 | ||
|
|
||
| - Android Studio Otter 3 Feature Drop | 2025.2.3 | ||
| - Windows 11 | ||
| - 一部 wsl2(Ubuntu 22.04.5 LTS) | ||
|
Comment on lines
+6
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 入れ子リストのインデントを統一してください(MD007)。 🧰 Tools🪛 markdownlint-cli2 (0.18.1)7-7: Unordered list indentation (MD007, ul-indent) 🤖 Prompt for AI Agents |
||
|
|
||
| ### テスト | ||
|
|
||
| ###### ユニットテスト | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| package me.nya_n.notificationnotifier | ||
|
|
||
| import com.android.build.api.dsl.CommonExtension | ||
| import org.gradle.api.JavaVersion | ||
| import org.gradle.api.Project | ||
|
|
||
| internal fun Project.configureCommon( | ||
| extension: CommonExtension | ||
| ) { | ||
| extension.apply { | ||
| compileSdk = libs.version("compileSdk").toInt() | ||
| defaultConfig.apply { | ||
| minSdk = libs.version("minSdk").toInt() | ||
| testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
| } | ||
| compileOptions.apply { | ||
| sourceCompatibility = JavaVersion.VERSION_17 | ||
| targetCompatibility = JavaVersion.VERSION_17 | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ versionName = "1.1" | |
| # --------------------------------------------------------- | ||
|
|
||
| # Library | ||
| agp = "8.13.2" | ||
| agp = "9.0.0" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: git ls-files | grep -E "(gradle|versions)" | head -20Repository: ptkNktq/AndroidNotificationNotifier Length of output: 642 🏁 Script executed: find . -name "gradle-wrapper.properties" -o -name "build.gradle*" | head -10Repository: ptkNktq/AndroidNotificationNotifier Length of output: 390 🏁 Script executed: cat -n AndroidApp/gradle/libs.versions.toml | head -20Repository: ptkNktq/AndroidNotificationNotifier Length of output: 688 🏁 Script executed: cat -n AndroidApp/gradle/wrapper/gradle-wrapper.propertiesRepository: ptkNktq/AndroidNotificationNotifier Length of output: 379 🏁 Script executed: cat -n AndroidApp/gradle.propertiesRepository: ptkNktq/AndroidNotificationNotifier Length of output: 1466 🏁 Script executed: cat -n AndroidApp/build.gradle.kts | head -30Repository: ptkNktq/AndroidNotificationNotifier Length of output: 502 🌐 Web query:
💡 Result: Short answer — compatibility checklist:
If you want, I can give the exact gradle.properties / buildscript snippets and the minimal changes to migrate Kotlin plugins. Sources: [1] Android AGP — minimum Gradle table; [2] AGP 9.0 release notes (built‑in Kotlin, runtime KGP 2.2.10); [3] Kotlin 2.3 compatibility / deprecation notes. 🏁 Script executed: cat -n AndroidApp/gradle/libs.versions.toml | grep -A 50 "plugins"Repository: ptkNktq/AndroidNotificationNotifier Length of output: 4060 🏁 Script executed: grep -r "kotlin\.android" AndroidApp/build-logic/ AndroidApp/*.gradle.ktsRepository: ptkNktq/AndroidNotificationNotifier Length of output: 171 🏁 Script executed: grep -r "kotlin-android" AndroidApp/ --include="*.gradle.kts" --include="*.toml"Repository: ptkNktq/AndroidNotificationNotifier Length of output: 210 🏁 Script executed: grep -n "org.jetbrains.kotlin.android\|kotlin.android" AndroidApp/app/build.gradle.kts AndroidApp/domain/build.gradle.kts AndroidApp/model/build.gradle.kts AndroidApp/ui/build.gradle.kts AndroidApp/data/repository/build.gradle.kts 2>/dev/null | head -20Repository: ptkNktq/AndroidNotificationNotifier Length of output: 61 🏁 Script executed: cat -n AndroidApp/app/build.gradle.kts | head -40Repository: ptkNktq/AndroidNotificationNotifier Length of output: 901 🏁 Script executed: cat -n AndroidApp/build-logic/build.gradle.ktsRepository: ptkNktq/AndroidNotificationNotifier Length of output: 799 🏁 Script executed: find AndroidApp/build-logic -name "*.gradle.kts" -exec grep -l "kotlin.android\|kotlin-android" {} \;Repository: ptkNktq/AndroidNotificationNotifier Length of output: 61 🏁 Script executed: find AndroidApp/build-logic -type f -name "*.gradle.kts" | xargs ls -laRepository: ptkNktq/AndroidNotificationNotifier Length of output: 257 🏁 Script executed: find AndroidApp/build-logic -type f \( -name "*.kt" -o -name "*.kts" \) -not -path "*/build/*"Repository: ptkNktq/AndroidNotificationNotifier Length of output: 746 🏁 Script executed: find AndroidApp/build-logic -type f -name "*.kt" -exec cat -n {} \;Repository: ptkNktq/AndroidNotificationNotifier Length of output: 5761 🏁 Script executed: grep -r "kapt\|kotlin.android\|sourceSet" AndroidApp/app/build.gradle.kts AndroidApp/domain/build.gradle.kts AndroidApp/model/build.gradle.kts AndroidApp/ui/build.gradle.kts AndroidApp/data/repository/build.gradle.kts 2>/dev/nullRepository: ptkNktq/AndroidNotificationNotifier Length of output: 61 🏁 Script executed: grep -r "kotlinOptions\|compileKotlin" AndroidApp/ --include="*.gradle.kts" 2>/dev/null | grep -v ".gradle"Repository: ptkNktq/AndroidNotificationNotifier Length of output: 61 🏁 Script executed: cat -n AndroidApp/domain/build.gradle.ktsRepository: ptkNktq/AndroidNotificationNotifier Length of output: 1491 🏁 Script executed: cat -n AndroidApp/ui/build.gradle.ktsRepository: ptkNktq/AndroidNotificationNotifier Length of output: 1300 Kotlin 2.3.0 と AGP 9.0.0 の非推奨使用法に注意。 Gradle 9.1.0 との互換性は確認されていますが、Kotlin 2.3.0 は AGP ≥ 9.0 での 🤖 Prompt for AI Agents |
||
| kotlin = "2.3.0" | ||
| kotlinx-coroutines = "1.10.2" | ||
| com-google-devtools-ksp = "2.3.4" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
見出しレベルの飛びを修正してください(MD001)。
###から始まっており、前段に##がないため見出しレベルが1段飛びになっています。🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
3-3: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3
(MD001, heading-increment)
🤖 Prompt for AI Agents