mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-05 10:15:30 +08:00
feat: support compose multiplatform
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
[versions]
|
||||
sdk-compile = "34"
|
||||
sdk-min = "21"
|
||||
sdk-target = "33"
|
||||
|
||||
compose-bom = "2023.09.00"
|
||||
compose-compiler = "1.5.3"
|
||||
activity-compose = "1.8.0-beta01"
|
||||
paging = "3.2.1"
|
||||
|
||||
plugin-android-gradle = "8.1.1"
|
||||
plugin-kotlin = "1.9.10"
|
||||
plugin-detekt = "1.21.0"
|
||||
plugin-spotless = "6.5.1"
|
||||
plugin-mavenpublish = "0.25.3"
|
||||
|
||||
java-toolchain = "17"
|
||||
|
||||
[libraries]
|
||||
compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" }
|
||||
compose-foundation = { module = "androidx.compose.foundation:foundation" }
|
||||
compose-material3 = { module = "androidx.compose.material3:material3" }
|
||||
compose-ui = { module = "androidx.compose.ui:ui" }
|
||||
androidx-activitycompose = { module = "androidx.activity:activity-compose", version.ref = "activity-compose" }
|
||||
androidx-pagingruntime = { module = "androidx.paging:paging-runtime", version.ref = "paging" }
|
||||
androidx-pagingcompose = { module = "androidx.paging:paging-compose", version.ref = "paging" }
|
||||
|
||||
[plugins]
|
||||
android-application = { id = "com.android.application", version.ref = "plugin-android-gradle" }
|
||||
android-library = { id = "com.android.library", version.ref = "plugin-android-gradle" }
|
||||
kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "plugin-kotlin" }
|
||||
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "plugin-detekt" }
|
||||
spotless = { id = "com.diffplug.spotless", version.ref = "plugin-spotless" }
|
||||
mavenpublish = { id = "com.vanniktech.maven.publish", version.ref = "plugin-mavenpublish" }
|
65
gradle/sweet-dependency/sweet-dependency-config.yaml
Normal file
65
gradle/sweet-dependency/sweet-dependency-config.yaml
Normal file
@@ -0,0 +1,65 @@
|
||||
preferences:
|
||||
autowire-on-sync-mode: UPDATE_OPTIONAL_DEPENDENCIES
|
||||
repositories-mode: FAIL_ON_PROJECT_REPOS
|
||||
|
||||
repositories:
|
||||
gradle-plugin-portal:
|
||||
scope: PLUGINS
|
||||
google:
|
||||
maven-central:
|
||||
|
||||
plugins:
|
||||
org.jetbrains.kotlin.multiplatform:
|
||||
alias: kotlin-multiplatform
|
||||
version: 1.9.10
|
||||
org.jetbrains.compose:
|
||||
alias: jetbrains-compose
|
||||
version: 1.5.1
|
||||
com.android.application:
|
||||
alias: android-application
|
||||
version: 8.1.2
|
||||
com.android.library:
|
||||
alias: android-library
|
||||
version-ref: android-application
|
||||
|
||||
libraries:
|
||||
app.cash.paging:
|
||||
paging-common:
|
||||
version: 3.3.0-alpha02-0.4.0
|
||||
paging-compose-common:
|
||||
version-ref: <this>::paging-common
|
||||
androidx.compose:
|
||||
compose-bom:
|
||||
version: 2023.09.02
|
||||
androidx.compose.foundation:
|
||||
foundation:
|
||||
version: <no-spec>
|
||||
androidx.compose.ui:
|
||||
ui:
|
||||
version: <no-spec>
|
||||
androidx.compose.material3:
|
||||
material3:
|
||||
version: <no-spec>
|
||||
androidx.activity:
|
||||
activity:
|
||||
version: 1.8.0
|
||||
activity-compose:
|
||||
version: 1.7.2
|
||||
androidx.core:
|
||||
core-ktx:
|
||||
version: 1.10.0
|
||||
androidx.appcompat:
|
||||
appcompat:
|
||||
version: 1.6.1
|
||||
com.google.android.material:
|
||||
material:
|
||||
version: 1.8.0
|
||||
androidx.test.ext:
|
||||
junit:
|
||||
version: 1.1.5
|
||||
androidx.test.espresso:
|
||||
espresso-core:
|
||||
version: 3.5.1
|
||||
junit:
|
||||
junit:
|
||||
version: 4.13.2
|
5
gradle/wrapper/gradle-wrapper.properties
vendored
5
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,5 @@
|
||||
#Wed Sep 06 22:11:14 CEST 2023
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStorePath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
Reference in New Issue
Block a user