This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
64 lines (55 loc) · 1.92 KB
/
build.gradle.kts
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
62
63
64
buildscript {
val kotlin_version: String by project
val kotlin_frontend_version: String by project
val android_plugin_version: String by project
repositories {
jcenter()
google()
mavenCentral()
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { setUrl("https://kotlin.bintray.com/kotlinx") }
maven { setUrl("https://dl.bintray.com/jetbrains/kotlin-native-dependencies") }
maven { setUrl("https://dl.bintray.com/svok/jar2npm") }
}
dependencies {
classpath(kotlin("gradle-plugin", version = kotlin_version))
classpath(kotlin("serialization", version = kotlin_version))
classpath(kotlin("frontend-plugin", version = kotlin_frontend_version))
classpath("com.android.tools.build:gradle:$android_plugin_version")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlin_version")
}
}
plugins {
val kotlin_version: String by project
val node_plugin_version: String by project
val docker_plugin_version: String by project
val kotlin_frontend_version: String by project
kotlin("multiplatform") version kotlin_version apply false
id("maven-publish")
id("com.moowork.node") version node_plugin_version
id("com.bmuschko.docker-remote-api") version docker_plugin_version apply false
id("com.crowdproj.plugins.jar2npm") version "0.1.14" apply false
}
repositories {
mavenCentral()
}
val project_group: String by project
val project_version: String by project
group = project_group
version = project_version
subprojects {
group = project_group
version = project_version
repositories {
jcenter()
mavenCentral()
maven { setUrl("https://kotlin.bintray.com/kotlinx") }
}
}
project(":proj-androidfront") {
repositories {
google()
jcenter()
}
}