-
Notifications
You must be signed in to change notification settings - Fork 9
#30 update to kotlin 1.5.20 #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Alex009
merged 15 commits into
icerockdev:develop
from
anton6tak:#30-update-to-kotlin-1.5.20
Jun 28, 2021
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2d956bc
Merge pull request #2 from icerockdev/develop
Alex009 1f4302b
Merge pull request #5 from icerockdev/develop
Alex009 afa3ee5
Merge pull request #8 from icerockdev/develop
Alex009 131dbc7
Merge pull request #17 from icerockdev/develop
Dorofeev d565d66
Merge pull request #22 from icerockdev/develop
Alex009 bf43988
Merge pull request #24 from icerockdev/develop
Alex009 da01433
#30 temp commit (gbf successful)
anton6tak f68ab93
#30 update kotlin version
anton6tak 568df8f
#30 version update
anton6tak 7690be8
#30 readme changes and used android-manifest plugin
anton6tak f6e9d64
#30 fixes
anton6tak 76a80eb
#30 forgot commit this
anton6tak 6b1c6b3
#30 use сonvention plugin
anton6tak 4278d8c
#30 removed non used and use coroutines-native-mt
anton6tak cba0f61
#30 removed non used
anton6tak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
errors-build-logic/src/main/kotlin/android-app-convention.gradle.kts
This file contains hidden or 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
errors-build-logic/src/main/kotlin/android-base-convention.gradle.kts
This file contains hidden or 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) | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
errors-build-logic/src/main/kotlin/android-library-convention.gradle.kts
This file contains hidden or 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,13 @@ | ||
| /* | ||
| * Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. | ||
| */ | ||
|
|
||
| plugins { | ||
| id("com.android.library") | ||
| id("kotlin-android") | ||
| id("android-base-convention") | ||
| } | ||
|
|
||
| android { | ||
| sourceSets.all { java.srcDir("src/$name/kotlin") } | ||
| } |
15 changes: 15 additions & 0 deletions
15
errors-build-logic/src/main/kotlin/android-publication-convention.gradle.kts
This file contains hidden or 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,15 @@ | ||
| /* | ||
| * Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. | ||
| */ | ||
|
|
||
| plugins { | ||
| id("publication-convention") | ||
| } | ||
|
|
||
| afterEvaluate { | ||
| publishing.publications { | ||
| create("release", MavenPublication::class.java) { | ||
| from(components.getByName("release")) | ||
| } | ||
| } | ||
| } |
15 changes: 15 additions & 0 deletions
15
errors-build-logic/src/main/kotlin/detekt-convention.gradle.kts
This file contains hidden or 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,15 @@ | ||
| /* | ||
| * Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. | ||
| */ | ||
|
|
||
| plugins { | ||
| id("io.gitlab.arturbosch.detekt") | ||
| } | ||
|
|
||
| detekt { | ||
| input.setFrom("src/commonMain/kotlin", "src/androidMain/kotlin", "src/iosMain/kotlin", "src/main/kotlin") | ||
| } | ||
|
|
||
| dependencies { | ||
| "detektPlugins"("io.gitlab.arturbosch.detekt:detekt-formatting:1.15.0") | ||
| } |
16 changes: 16 additions & 0 deletions
16
errors-build-logic/src/main/kotlin/javadoc-stub-convention.gradle.kts
This file contains hidden or 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,16 @@ | ||
| /* | ||
| * Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. | ||
| */ | ||
|
|
||
| plugins { | ||
| id("org.gradle.maven-publish") | ||
| } | ||
|
|
||
| val javadocJar by tasks.registering(Jar::class) { | ||
| archiveClassifier.set("javadoc") | ||
| } | ||
|
|
||
| publishing.publications.withType<MavenPublication> { | ||
| // Stub javadoc.jar artifact | ||
| artifact(javadocJar.get()) | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.