Skip to content

Commit

Permalink
kotlinを2.0にした
Browse files Browse the repository at this point in the history
  • Loading branch information
pantasystem committed Sep 18, 2024
1 parent 6b17eb8 commit 54d127a
Show file tree
Hide file tree
Showing 21 changed files with 41 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

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

3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
id('dagger.hilt.android.plugin')
id('com.github.triplet.play') version("3.7.0")
id('com.google.firebase.crashlytics')
alias(libs.plugins.compose.compiler)
}


Expand Down Expand Up @@ -77,7 +78,7 @@ android {


composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ plugins {
//classpath 'com.google.dagger:hilt-android-gradle-plugin:2.48.1'
alias(libs.plugins.dagger.hilt.android) apply false
alias(libs.plugins.android.test) apply false

alias(libs.plugins.compose.compiler) apply false
}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ org.gradle.caching=true
org.gradle.configureondemand=true
org.gradle.parallel=true
kotlin.code.style=official
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
org.gradle.jvmargs=-Xmx4096M -Dkotlin.daemon.jvm.options\="-Xmx4096M"
VERSION_CODE=94
VERSION_NAME=v2.16.8
android.defaults.buildfeatures.buildconfig=true
Expand Down
3 changes: 2 additions & 1 deletion libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
kotlin-version = "1.9.10"
kotlin-version = "2.0.0"
date-time = "0.4.0"
compose = "1.7.1"
compose-material-icons = "1.7.1"
Expand Down Expand Up @@ -126,3 +126,4 @@ android-application = { id = "com.android.application", version = "8.1.3" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin-version" }
dagger-hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
android-test = { id = "com.android.test", version = "8.1.3" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin-version" }
3 changes: 2 additions & 1 deletion modules/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
alias libs.plugins.kotlin.serialization.plugin
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -35,7 +36,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/common_android_ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id('kotlin-kapt')
id('dagger.hilt.android.plugin')
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -34,7 +35,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/common_compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -32,7 +33,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/features/account/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -39,7 +40,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version

}

Expand Down
3 changes: 2 additions & 1 deletion modules/features/auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'dagger.hilt.android.plugin'
id 'kotlin-kapt'
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -35,7 +36,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
4 changes: 3 additions & 1 deletion modules/features/channel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
alias(libs.plugins.compose.compiler)

}

android {
Expand Down Expand Up @@ -35,7 +37,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/features/clip/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -35,7 +36,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
}

Expand Down
4 changes: 2 additions & 2 deletions modules/features/drive/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'dagger.hilt.android.plugin'
id 'kotlin-kapt'

alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -38,7 +38,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/features/gallery/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -38,7 +39,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version

}
// for junit5
Expand Down
3 changes: 2 additions & 1 deletion modules/features/group/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
alias(libs.plugins.compose.compiler)

}

Expand Down Expand Up @@ -36,7 +37,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/features/messaging/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -35,7 +36,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version

}

Expand Down
3 changes: 2 additions & 1 deletion modules/features/note/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
id 'dagger.hilt.android.plugin'
id 'kotlin-kapt'
alias libs.plugins.kotlin.serialization.plugin
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -36,7 +37,7 @@ android {
dataBinding true
}
composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/features/search/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id('kotlin-kapt')
id('dagger.hilt.android.plugin')
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -34,7 +35,7 @@ android {
dataBinding true
}
composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
4 changes: 2 additions & 2 deletions modules/features/setting/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id('kotlin-kapt')
id('dagger.hilt.android.plugin')

alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -37,7 +37,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/features/user/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -35,7 +36,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down
3 changes: 2 additions & 1 deletion modules/features/userlist/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
alias(libs.plugins.compose.compiler)
}

android {
Expand Down Expand Up @@ -35,7 +36,7 @@ android {

}
composeOptions {
kotlinCompilerExtensionVersion = compose_version
// kotlinCompilerExtensionVersion = compose_version
}
// for junit5
testOptions {
Expand Down

0 comments on commit 54d127a

Please sign in to comment.