-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (50 loc) · 1.8 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
buildscript {
repositories {
google()
gradlePluginPortal()
mavenCentral()
jcenter()
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies" }
maven { url "https://dl.bintray.com/hazer/maven/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0-beta04'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.6'
classpath "org.jetbrains.dokka:dokka-gradle-plugin:+"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
}
}
plugins {
id 'kotlin-multiplatform' version '1.3.31'
id 'kotlinx-serialization' version '1.3.31'
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url "https://dl.bintray.com/hazer/maven/" }
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile).all { task ->
task.kotlinOptions.freeCompilerArgs += ["-Xobjc-generics",
'-Xuse-experimental=kotlin.Experimental',
"-Xuse-experimental=kotlin.ExperimentalMultiplatform"]
}
}
task publishLocal(type: GradleBuild) {
tasks = ['publishToMavenLocal']
startParameter.projectProperties = ['isItPublishing': 'true']
}
task publishRemote(type: GradleBuild) {
tasks = ['bintrayUpload']
startParameter.projectProperties = ['isItPublishing': 'true']
}
//subprojects {
// apply plugin: 'maven-publish'
// group 'io.vithor.libs'
// version '0.0.8-alpha.2'
// apply from: rootProject.file("gradle/publish-bintray.gradle")
//}