-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
executable file
·42 lines (34 loc) · 1.03 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
buildscript {
repositories {
mavenCentral()
maven { url 'http://dl.bintray.com/jetbrains/intellij-plugin-service' }
maven { url 'http://dl.bintray.com/kotlin/kotlin-eap-1.1' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "gradle.plugin.com.zoltu.gradle.plugin:git-versioning:2.0.21"
classpath "gradle.plugin.org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.3.12"
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
plugins {
id "com.zoltu.git-versioning" version "2.0.21"
}
int index = version.lastIndexOf("-0")
if (index != -1) {
version = version.substring(0, index)
}
def actualVersion = version
subprojects {
version = actualVersion
repositories {
mavenCentral()
maven {
url "https://dl.bintray.com/jetbrains/spek"
}
maven { url 'http://dl.bintray.com/kotlin/kotlin-eap-1.1' }
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0'
}