-
Notifications
You must be signed in to change notification settings - Fork 12
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
…-gradle-0.7.2 #55 update to kotlin 1.5.10 and gradle 0.7.2
- Loading branch information
Showing
29 changed files
with
339 additions
and
318 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,106 +2,22 @@ | |
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
import java.util.Base64 | ||
|
||
allprojects { | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
google() | ||
|
||
maven { url = uri("https://jitpack.io") } | ||
|
||
jcenter { | ||
content { | ||
includeGroup("org.jetbrains.trove4j") | ||
} | ||
} | ||
gradlePluginPortal() | ||
} | ||
|
||
plugins.withId(Deps.Plugins.androidLibrary.id) { | ||
configure<com.android.build.gradle.LibraryExtension> { | ||
compileSdkVersion(Deps.Android.compileSdk) | ||
|
||
defaultConfig { | ||
minSdkVersion(Deps.Android.minSdk) | ||
targetSdkVersion(Deps.Android.targetSdk) | ||
} | ||
} | ||
dependencies { | ||
classpath(":media-build-logic") | ||
} | ||
} | ||
|
||
plugins.withId(Deps.Plugins.mavenPublish.id) { | ||
allprojects { | ||
plugins.withId("org.gradle.maven-publish") { | ||
group = "dev.icerock.moko" | ||
version = Deps.mokoMediaVersion | ||
|
||
val javadocJar by tasks.registering(Jar::class) { | ||
archiveClassifier.set("javadoc") | ||
} | ||
|
||
configure<PublishingExtension> { | ||
repositories.maven("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") { | ||
name = "OSSRH" | ||
|
||
credentials { | ||
username = System.getenv("OSSRH_USER") | ||
password = System.getenv("OSSRH_KEY") | ||
} | ||
} | ||
|
||
publications.withType<MavenPublication> { | ||
// Stub javadoc.jar artifact | ||
artifact(javadocJar.get()) | ||
|
||
// Provide artifacts information requited by Maven Central | ||
pom { | ||
name.set("MOKO media") | ||
description.set("Media selection & presenting for mobile (android & ios) Kotlin Multiplatform development") | ||
url.set("https://github.com/icerockdev/moko-media") | ||
licenses { | ||
license { | ||
url.set("https://github.com/icerockdev/moko-media/blob/master/LICENSE.md") | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id.set("Alex009") | ||
name.set("Aleksey Mikhailov") | ||
email.set("[email protected]") | ||
} | ||
developer { | ||
id.set("Tetraquark") | ||
name.set("Vladislav Areshkin") | ||
email.set("[email protected]") | ||
} | ||
developer { | ||
id.set("RezMike") | ||
name.set("Mikhail Reznichenko") | ||
email.set("[email protected]") | ||
} | ||
} | ||
|
||
scm { | ||
connection.set("scm:git:ssh://github.com/icerockdev/moko-media.git") | ||
developerConnection.set("scm:git:ssh://github.com/icerockdev/moko-media.git") | ||
url.set("https://github.com/icerockdev/moko-media") | ||
} | ||
} | ||
} | ||
|
||
apply(plugin = Deps.Plugins.signing.id) | ||
|
||
configure<SigningExtension> { | ||
val signingKeyId: String? = System.getenv("SIGNING_KEY_ID") | ||
val signingPassword: String? = System.getenv("SIGNING_PASSWORD") | ||
val signingKey: String? = System.getenv("SIGNING_KEY")?.let { base64Key -> | ||
String(Base64.getDecoder().decode(base64Key)) | ||
} | ||
if (signingKeyId != null) { | ||
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword) | ||
sign(publications) | ||
} | ||
} | ||
} | ||
version = libs.versions.mokoMediaVersion.get() | ||
} | ||
} | ||
|
||
|
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,25 @@ | ||
[versions] | ||
androidAppCompatVersion = "1.2.0" | ||
materialDesignVersion = "1.0.0" | ||
androidLifecycleVersion = "2.1.0" | ||
androidExifInterface = "1.3.2" | ||
androidMediaFilePicker = "1.9.1" | ||
coroutinesVersion = "1.5.0-native-mt" | ||
mokoMvvmVersion = "0.11.0" | ||
mokoPermissionsVersion = "0.10.1" | ||
mokoTestVersion = "0.4.0" | ||
mokoMediaVersion = "0.9.0" | ||
|
||
[libraries] | ||
appCompat = { module = "androidx.appcompat:appcompat", version.ref = "androidAppCompatVersion" } | ||
material = { module = "com.google.android.material:material", version.ref = "materialDesignVersion" } | ||
lifecycle = { module = "androidx.lifecycle:lifecycle-extensions", version.ref = "androidLifecycleVersion" } | ||
exifInterface = { module = "androidx.exifinterface:exifinterface", version.ref = "androidExifInterface" } | ||
mediaFilePicker = { module = "com.github.icerockdev:MaterialFilePicker", version.ref = "androidMediaFilePicker" } | ||
coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutinesVersion" } | ||
mokoPermissions = { module = "dev.icerock.moko:permissions", version.ref = "mokoPermissionsVersion" } | ||
mokoMvvmCore = { module = "dev.icerock.moko:mvvm-core", version.ref = "mokoMvvmVersion" } | ||
mokoMvvmLiveData = { module = "dev.icerock.moko:mvvm-livedata", version.ref = "mokoMvvmVersion" } | ||
mokoTest = { module = "dev.icerock.moko:test-core", version.ref = "mokoTestVersion" } | ||
mokoMvvmTest = { module = "dev.icerock.moko:mvvm-test", version.ref = "mokoMvvmVersion" } | ||
mokoPermissionsTest = { module = "dev.icerock.moko:permissions-test", version.ref = "mokoPermissionsVersion" } |
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.8.3-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") | ||
} |
Oops, something went wrong.