Skip to content

Commit dcdf8e7

Browse files
authored
Merge pull request #279 from ptkNktq/update/libs
ライブラリの更新
2 parents 9334172 + 6527f57 commit dcdf8e7

File tree

5 files changed

+23
-15
lines changed

5 files changed

+23
-15
lines changed

AndroidApp/build-logic/src/main/kotlin/me/nya_n/notificationnotifier/Application.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ internal fun Project.configureApplication(
88
extension: ApplicationExtension
99
) {
1010
extension.apply {
11-
compileSdk = 35
11+
compileSdk = libs.version("compileSdk").toInt()
1212
defaultConfig {
13-
minSdk = 30
14-
targetSdk = 35
15-
versionCode = 2
16-
versionName = "1.1"
13+
minSdk = libs.version("minSdk").toInt()
14+
targetSdk = libs.version("targetSdk").toInt()
15+
versionCode = libs.version("versionCode").toInt()
16+
versionName = libs.version("versionName")
1717
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1818
}
1919
buildTypes {

AndroidApp/build-logic/src/main/kotlin/me/nya_n/notificationnotifier/Library.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ internal fun Project.configureLibrary(
88
extension: LibraryExtension
99
) {
1010
extension.apply {
11-
compileSdk = 35
11+
compileSdk = libs.version("compileSdk").toInt()
1212
defaultConfig {
13-
minSdk = 30
13+
minSdk = libs.version("minSdk").toInt()
1414
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1515
}
1616
buildTypes {

AndroidApp/gradle/libs.versions.toml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,33 @@
11
[versions]
2-
agp = "8.9.1"
2+
# --- memo: unusedになっているがbuild-logic内から参照している ---
3+
# Android Sdk Versions
4+
compileSdk = "35"
5+
minSdk = "35"
6+
targetSdk = "35"
7+
# App Versions
8+
versionCode = "2"
9+
versionName = "1.1"
10+
# ---------------------------------------------------------
11+
12+
# Library
13+
agp = "8.9.3"
314
kotlin = "2.1.20"
415
com-google-devtools-ksp = "2.1.20-2.0.1" # Kotlinのバージョンに合わせる必要がある
516
com-jaredsburrows-license = "0.9.8"
617
androidx-core = "1.16.0"
718
androidx-appcompat = "1.7.1"
819
androidx-security = "1.1.0-beta01"
920
androidx-splashscreen = "1.0.1"
10-
androidx-compose-bom = "2025.06.00"
21+
androidx-compose-bom = "2025.06.01"
1122
androidx-compose-activity = "1.10.1"
1223
androidx-compose-viewmodel = "2.9.1"
13-
androidx-compose-navigation = "2.9.0"
24+
androidx-compose-navigation = "2.9.1"
1425
androidx-compose-screenshot = "0.0.1-alpha09"
1526
junit = "4.13.2"
1627
com-google-truth = "1.4.4"
1728
androidx-test-ext = "1.2.1"
1829
androidx-test-espresso = "3.6.1"
19-
androidx-room = "2.7.1"
30+
androidx-room = "2.7.2"
2031
io-insert-koin = "4.1.0"
2132
com-google-code-gson = "2.13.1"
2233
com-squareup-leakcanary = "2.14"

AndroidApp/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

AndroidApp/model/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,3 @@ dependencies {
2323
// その他
2424
api(libs.com.google.code.gson)
2525
}
26-
27-
val Project.catalog
28-
get(): VersionCatalog = extensions.getByType<VersionCatalogsExtension>().named("libs")

0 commit comments

Comments
 (0)