-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fb2334
commit bbc1c12
Showing
9 changed files
with
185 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
buildSrc/src/main/kotlin/tech/thdev/gradle/dependencies/Publish.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
package tech.thdev.gradle.dependencies | ||
|
||
object Publish { | ||
private const val isReleaseVersion = false | ||
val libraryVersion: String | ||
get() = "1.3.2".takeIf { isReleaseVersion } ?: "1.4.0-alpha03" | ||
const val description = "Android Compose keyboard state modifier." | ||
const val publishUrl = "https://thdev.tech/ComposeKeyboardState/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
[versions] | ||
buildToolsVersion = "33.0.0" | ||
compileSdk = "33" | ||
targetSdk = "33" | ||
minSdk = "23" | ||
|
||
major = "1" | ||
minor = "0" | ||
hotfix = "0" | ||
versionCode = "1" | ||
|
||
## Android gradle plugin | ||
androidGradlePlugin = "7.3.1" | ||
|
||
## kotlin | ||
# https://github.com/JetBrains/kotlin | ||
kotlin = "1.7.20" | ||
|
||
## Coroutine | ||
# https://github.com/Kotlin/kotlinx.coroutines | ||
coroutines = "1.6.4" | ||
|
||
## AndroidX | ||
# https://developer.android.com/jetpack/androidx/releases/annotation | ||
androidx-annotation = "1.5.0" | ||
# https://developer.android.com/jetpack/androidx/releases/core | ||
androidx-core = "1.10.0-alpha01" | ||
# https://developer.android.com/jetpack/androidx/releases/appcompat | ||
androidx-appCompat = "1.7.0-alpha01" | ||
# https://developer.android.com/jetpack/androidx/releases/activity | ||
androidx-activity = "1.7.0-alpha03" | ||
# https://developer.android.com/jetpack/androidx/releases/fragment | ||
androidx-fragment = "1.6.0-alpha04" | ||
# https://developer.android.com/jetpack/androidx/releases/vectordrawable | ||
androidx-vectorDrawable = "1.2.0-beta01" | ||
# https://developer.android.com/jetpack/androidx/releases/lifecycle | ||
androidx-lifecycleVersion = "2.6.0-alpha04" | ||
# https://developer.android.com/jetpack/androidx/releases/multidex | ||
androidx-multiDex = "2.0.1" | ||
|
||
## Compose | ||
# https://developer.android.com/jetpack/androidx/releases/compose | ||
compose = "1.3.3" | ||
compose-foundation = "1.3.1" | ||
# https://developer.android.com/jetpack/androidx/releases/compose-kotlin | ||
compose-compilerVersion = "1.3.2" | ||
|
||
# https://developer.android.com/jetpack/androidx/releases/compose-material3 | ||
compose-material3 = "1.0.1" | ||
|
||
# https://github.com/material-components/material-components-android/releases | ||
google-material = "1.8.0-rc01" | ||
|
||
## Test | ||
# https://developer.android.com/jetpack/androidx/releases/test | ||
test-androidx-core = "1.5.0" | ||
test-androidx-runner = "1.5.2" | ||
test-androidx-junit = "1.1.5" | ||
# https://github.com/robolectric/robolectric | ||
test-robolectric = "4.9.2" | ||
# https://github.com/mockito/mockito | ||
test-mockito = "4.11.0" | ||
# https://github.com/mockito/mockito-kotlin | ||
test-mockito-kotlin = "4.1.0" | ||
# https://github.com/mannodermaus/android-junit5 | ||
test-junit5 = "5.8.2" | ||
|
||
[libraries] | ||
## Kotlin | ||
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" } | ||
|
||
## Coroutines | ||
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" } | ||
coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" } | ||
|
||
## AndroidX | ||
androidx-annotation = { module = "androidx.annotation:annotation", version.ref = "androidx-annotation" } | ||
androidx-core = { module = "androidx.core:core-ktx", version.ref = "androidx-core" } | ||
androidx-appCompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appCompat" } | ||
androidx-activity = { module = "androidx.activity:activity-ktx", version.ref = "androidx-activity" } | ||
androidx-fragment = { module = "androidx.fragment:fragment-ktx", version.ref = "androidx-fragment" } | ||
androidx-vectorDrawable = { module = "androidx.vectordrawable:vectordrawable", version.ref = "androidx-vectorDrawable" } | ||
androidx-lifecycleCommonJava8 = { module = "androidx.lifecycle:lifecycle-common-java8", version.ref = "androidx-lifecycleVersion" } | ||
androidx-multiDex = { module = "androidx.multidex:multidex", version.ref = "androidx-multiDex" } | ||
|
||
## Compose | ||
compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" } | ||
compose-uiTooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" } | ||
compose-uiToolingPreview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" } | ||
compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "compose-foundation" } | ||
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose" } | ||
compose-animation = { module = "androidx.compose.animation:animation", version.ref = "compose" } | ||
compose-material3 = { module = "androidx.compose.material3:material3", version.ref = "compose-material3" } | ||
compose-activity = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" } | ||
|
||
google-material = { module = "com.google.android.material:material", version.ref = "google-material" } | ||
|
||
## Test | ||
test-androidx-core = { module = "androidx.test:core", version.ref = "test-androidx-core" } | ||
test-androidx-runner = { module = "androidx.test:runner", version.ref = "test-androidx-runner" } | ||
test-androidx-junit = { module = "androidx.test.ext:junit", version.ref = "test-androidx-junit" } | ||
|
||
## Robolectric | ||
test-robolectric = { module = "org.robolectric:robolectric", version.ref = "test-robolectric" } | ||
test-robolectric-shadowapi = { module = "org.robolectric:shadowapi", version.ref = "test-robolectric" } | ||
|
||
## Test coroutine | ||
test-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" } | ||
|
||
## Test mockito | ||
test-mockito = { module = "org.mockito:mockito-core", version.ref = "test-mockito" } | ||
test-mockito-inline = { module = "org.mockito:mockito-inline", version.ref = "test-mockito" } | ||
test-mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.ref = "test-mockito-kotlin" } | ||
|
||
## Test junit 5 | ||
test-junit5 = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "test-junit5" } | ||
test-junit5-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "test-junit5" } | ||
test-junit5-vintage = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "test-junit5" } | ||
test-junit5-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "test-junit5" } | ||
|
||
# plugin | ||
plugin-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } | ||
plugin-kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" } | ||
plugin-androidGradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" } | ||
|
||
[plugins] | ||
androidLibrary = { id = "com.android.library", version.ref = "androidGradlePlugin" } | ||
androidApp = { id = "com.android.application", version.ref = "androidGradlePlugin" } | ||
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } | ||
kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@file:Suppress("UnstableApiUsage") | ||
|
||
pluginManagement { | ||
repositories { | ||
gradlePluginPortal() | ||
|