-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
71 lines (60 loc) · 2.61 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
70
71
allprojects {
group 'net.ldvsoft.simplex-lp-solver'
version '0.0.SNAPSHOT'
buildscript {
repositories {
mavenCentral()
jcenter()
maven { url "https://dl.bintray.com/kotlin/kotlin-eap" }
}
ext.versions = [
kotlin: '1.2.61',
kotlin_logging: '1.5.9',
kotlin_frontend: '0.0.37',
logback: '1.2.3',
junit5: '5.2.0',
node: '6.1.0',
karma: '3.0.0'
]
ext.gradle_plugins = [
kotlin: "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
kotlin_frontend: "org.jetbrains.kotlin:kotlin-frontend-plugin:${versions.kotlin_frontend}"
]
dependencies {
classpath gradle_plugins.kotlin
classpath gradle_plugins.kotlin_frontend
}
}
repositories {
mavenCentral()
}
ext.libraries = [
kotlin_stdlib: [
common: "org.jetbrains.kotlin:kotlin-stdlib-common:${versions.kotlin}",
jvm: "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}",
js: "org.jetbrains.kotlin:kotlin-stdlib-js:${versions.kotlin}"
],
kotlin_logging: [
common: "io.github.microutils:kotlin-logging-common:${versions.kotlin_logging}",
jvm: "io.github.microutils:kotlin-logging:${versions.kotlin_logging}",
js: "io.github.microutils:kotlin-logging-js:${versions.kotlin_logging}",
jvm_logback: "ch.qos.logback:logback-classic:${versions.logback}"
],
kotlin_test: [
common: "org.jetbrains.kotlin:kotlin-test-common:${versions.kotlin}",
common_annotations: "org.jetbrains.kotlin:kotlin-test-annotations-common:${versions.kotlin}",
jvm: "org.jetbrains.kotlin:kotlin-test:${versions.kotlin}",
jvm_junit5: "org.jetbrains.kotlin:kotlin-test-junit5:${versions.kotlin}",
js: "org.jetbrains.kotlin:kotlin-test-js:${versions.kotlin}"
],
junit5: [
params: "org.junit.jupiter:junit-jupiter-params:${versions.junit5}",
engine: "org.junit.jupiter:junit-jupiter-engine:${versions.junit5}"
]
]
ext.setupTestPacks = { Project project -> project.configure(project) {
test {
environment("LP_TEST_PACKS", "${rootProject.rootDir}/tests")
}
} }
}