temporal version

This commit is contained in:
InsanusMokrassar 2020-11-09 22:49:06 +06:00
parent d9464f7b90
commit c73cb14615
5 changed files with 60 additions and 0 deletions

View File

@ -21,6 +21,7 @@ allprojects {
mppProjectWithSerializationPresetPath = "${rootProject.projectDir.absolutePath}/mppProjectWithSerialization" mppProjectWithSerializationPresetPath = "${rootProject.projectDir.absolutePath}/mppProjectWithSerialization"
mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject" mppJavaProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppJavaProject"
mppAndroidProjectPresetPath = "${rootProject.projectDir.absolutePath}/mppAndroidProject"
publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle" publishGradlePath = "${rootProject.projectDir.absolutePath}/publish.gradle"
publishMavenPath = "${rootProject.projectDir.absolutePath}/maven.publish.gradle" publishMavenPath = "${rootProject.projectDir.absolutePath}/maven.publish.gradle"

View File

@ -18,5 +18,12 @@ github_release_plugin_version=2.2.12
uuidVersion=0.2.2 uuidVersion=0.2.2
# ANDROID
android_compileSdkVersion=30
android_buildToolsVersion=30.0.2
dexcount_version=2.0.0-RC1
group=dev.inmo group=dev.inmo
version=0.3.1 version=0.3.1
android_code_version=1

27
mppAndroidProject Normal file
View File

@ -0,0 +1,27 @@
project.version = "$version"
project.group = "$group"
apply from: "$publishGradlePath"
kotlin {
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib')
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
jvmTest {
dependencies {
implementation kotlin('test-junit')
}
}
}
}

View File

@ -0,0 +1,24 @@
buildscript {
repositories {
jcenter()
google()
mavenCentral()
mavenLocal()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:$dexcount_version"
}
}
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
}
apply plugin: 'com.android.library'
apply from: "$mppAndroidProjectPresetPath"

View File

@ -13,6 +13,7 @@ String[] includes = [
":repos:ktor:client", ":repos:ktor:client",
":repos:ktor:common", ":repos:ktor:common",
":repos:ktor:server", ":repos:ktor:server",
":repos:android:db",
":ktor:server", ":ktor:server",
":ktor:common", ":ktor:common",
":ktor:client", ":ktor:client",