-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…dle-7.0.2-use-convention-plugin #45 update kotlin to 1.5.20 gradle 7.0.2 use convention plugin
- Loading branch information
Showing
23 changed files
with
351 additions
and
344 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,28 @@ | ||
[versions] | ||
kotlinVersion = "1.5.20" | ||
androidAppCompatVersion = "1.2.0" | ||
androidLifecycleVersion = "2.1.0" | ||
androidCoreTestingVersion = "2.1.0" | ||
recyclerViewVersion = "1.1.0" | ||
swipeRefreshLayoutVersion = "1.1.0" | ||
ktorClientVersion = "1.6.0" | ||
coroutinesVersion = "1.5.0-native-mt" | ||
mokoMvvmVersion = "0.11.0" | ||
mokoResourcesVersion = "0.16.0" | ||
mokoUnitsVersion = "0.6.0" | ||
mokoPagingVersion = "0.5.0" | ||
|
||
[libraries] | ||
appCompat = { module = "androidx.appcompat:appcompat", version.ref = "androidAppCompatVersion" } | ||
recyclerView = { module = "androidx.recyclerview:recyclerview", version.ref = "recyclerViewVersion" } | ||
lifecycle = { module = "androidx.lifecycle:lifecycle-extensions", version.ref = "androidLifecycleVersion" } | ||
swipeRefreshLayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "swipeRefreshLayoutVersion" } | ||
coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutinesVersion" } | ||
ktorClient = { module = "io.ktor:ktor-client-core", version.ref = "ktorClientVersion" } | ||
mokoResources = { module = "dev.icerock.moko:resources", version.ref = "mokoResourcesVersion" } | ||
mokoUnits = { module = "dev.icerock.moko:units", version.ref = "mokoUnitsVersion" } | ||
mokoMvvmLiveData = { module = "dev.icerock.moko:mvvm-livedata", version.ref = "mokoMvvmVersion" } | ||
mokoMvvmState = { module = "dev.icerock.moko:mvvm-state", version.ref = "mokoMvvmVersion" } | ||
kotlinTestJUnit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlinVersion" } | ||
androidCoreTesting = { module = "androidx.arch.core:core-testing", version.ref = "androidCoreTestingVersion" } | ||
ktorClientMock = { module = "io.ktor:ktor-client-mock", version.ref = "ktorClientVersion" } |
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,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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,17 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
google() | ||
|
||
gradlePluginPortal() | ||
} | ||
|
||
dependencies { | ||
api("dev.icerock:mobile-multiplatform:0.12.0") | ||
api("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20") | ||
api("com.android.tools.build:gradle:4.2.1") | ||
api("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.15.0") | ||
} |
32 changes: 32 additions & 0 deletions
32
paging-build-logic/src/main/kotlin/android-app-convention.gradle.kts
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,32 @@ | ||
/* | ||
* Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
plugins { | ||
id("com.android.application") | ||
id("android-base-convention") | ||
id("kotlin-android") | ||
} | ||
|
||
android { | ||
dexOptions { | ||
javaMaxHeapSize = "2g" | ||
} | ||
|
||
buildTypes { | ||
getByName("release") { | ||
isMinifyEnabled = true | ||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") | ||
} | ||
getByName("debug") { | ||
isDebuggable = true | ||
applicationIdSuffix = ".debug" | ||
} | ||
} | ||
|
||
packagingOptions { | ||
exclude("META-INF/*.kotlin_module") | ||
exclude("META-INF/AL2.0") | ||
exclude("META-INF/LGPL2.1") | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
paging-build-logic/src/main/kotlin/android-base-convention.gradle.kts
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,14 @@ | ||
/* | ||
* Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
import com.android.build.gradle.BaseExtension | ||
|
||
configure<BaseExtension> { | ||
compileSdkVersion(30) | ||
|
||
defaultConfig { | ||
minSdkVersion(16) | ||
targetSdkVersion(30) | ||
} | ||
} |
Oops, something went wrong.