MatterLink/build.gradle

34 lines
675 B
Groovy
Raw Normal View History

plugins {
id "org.jetbrains.kotlin.jvm" version '1.2.41'
id 'idea'
2018-01-19 22:19:56 +00:00
}
subprojects {
2018-02-10 02:19:01 +00:00
apply plugin: "kotlin"
apply plugin: "idea"
2018-02-10 02:19:01 +00:00
if (System.env.BUILD_NUMBER) {
mod_version += "-${System.env.BUILD_NUMBER}"
2018-02-18 23:19:13 +00:00
} else if (!project.hasProperty('release')) {
2018-02-11 16:23:52 +00:00
mod_version += "-dev"
}
2018-02-10 19:50:13 +00:00
idea {
module {
excludeDirs += [file("run")]
}
2018-02-10 19:50:13 +00:00
}
2018-02-10 02:19:01 +00:00
repositories {
jcenter()
maven {
name = "unascribed"
url = 'http://unascribed.com/maven/releases'
}
maven {
name = "shadowfacts"
url = "http://maven.shadowfacts.net/"
2018-02-10 02:19:01 +00:00
}
}
2018-01-21 05:18:59 +00:00
}