-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
69 lines (60 loc) · 2.17 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
62
63
64
65
66
67
68
69
buildscript {
repositories {
google()
maven { url "http://dl.bintray.com/kotlin/kotlin-eap" }
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-frontend-plugin:$Versions.kotlinFrontendPlugin"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$Versions.kotlin"
classpath "org.jetbrains.kotlin:kotlin-serialization:$Versions.kotlin"
classpath "com.android.tools.build:gradle:$Versions.androidGradlePlugin"
classpath "com.github.jengelman.gradle.plugins:shadow:5.1.0"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$Versions.detekt"
classpath 'co.touchlab:kotlinxcodesync:0.1.5'
}
}
group = "es.guillermoorellana.keynotedex"
version = keynotedexVersion
subprojects {
buildscript{
repositories {
google()
maven { url "http://dl.bintray.com/kotlin/kotlin-eap" }
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
jcenter()
}
}
repositories {
mavenLocal()
jcenter()
google()
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url "http://dl.bintray.com/kotlin/kotlinx.html" }
maven { url "http://dl.bintray.com/kotlin/ktor" }
maven { url "https://dl.bintray.com/kotlin/squash" }
maven { url "https://kotlin.bintray.com/kotlin-js-wrappers" }
}
apply plugin: "io.gitlab.arturbosch.detekt"
detekt {
toolVersion = Versions.detekt
filters = ".*/resources/.*,.*/build/.*"
config = files("$rootDir/detekt.yml")
}
dependencies {
detektPlugins "io.gitlab.arturbosch.detekt:detekt-formatting:$Versions.detekt"
}
}
// Heroku/herokuish
task stage() {
group "distribution"
dependsOn(':backend:release')
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile).all {
kotlinOptions.freeCompilerArgs += ["-Xuse-experimental=kotlin.Experimental"]
}