forked from JetBrains/lets-plot-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (44 loc) · 1.24 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
buildscript {
dependencies {
classpath("org.yaml:snakeyaml:1.25")
}
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
id "com.jfrog.bintray" version '1.8.4' apply false
}
/*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
import org.yaml.snakeyaml.Yaml
def build_settings_file = new File(rootDir, "build_settings.yml")
if (!build_settings_file.canRead()) {
throw new GradleException("Couldn't read build_settings.yml")
}
def settings = new Yaml().load(build_settings_file.newInputStream())
project.ext.buildSettings = settings
allprojects {
group 'org.jetbrains.lets-plot-kotlin'
version "1.0.1-dev1"
sourceCompatibility = 1.8
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
repositories {
mavenCentral()
jcenter()
// mavenLocal()
// maven {
// url "file:///Users/Igor/Work/lets-plot/.maven-publish-dev-repo"
// }
maven {
// Required when working with SNAPSHOT-s
url "https://jetbrains.bintray.com/lets-plot-maven"
}
}
}