-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.gradle
54 lines (47 loc) · 1.36 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
buildscript {
apply from: './config.gradle'
ext {
releaseDir = "$projectDir/release"
}
repositories {
jcenter()
maven {
// kotlin-frontend-plugin
url "https://dl.bintray.com/kotlin/kotlin-eap"
}
maven {
// gradle-node-plugin
url "https://plugins.gradle.org/m2/"
}
if (releaseTest) {
println('Using remote packages...')
maven {
// vue-kotlin released packages
url "https://nosix.github.io/vue-kotlin/release"
}
} else {
println('Using local packages...')
// vuekt-plugin
mavenLocal()
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-frontend-plugin:$kotlin_frontend_version"
classpath "com.moowork.gradle:gradle-node-plugin:$gradle_node_version"
classpath "org.musyozoku:vuekt-plugin:$vuekt_plugin_version"
}
}
allprojects {
repositories {
if (releaseTest) {
maven {
// vue-kotlin released packages
url "https://nosix.github.io/vue-kotlin/release"
}
} else {
mavenLocal() // for vuekt, vuekt-js2vue
}
jcenter()
}
}