forked from JetBrains/rd
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
46 lines (38 loc) · 1.19 KB
/
build.gradle.kts
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
import com.jetbrains.rd.gradle.dependencies.kotlinVersion
version = System.getenv("RELEASE_VERSION_NUMBER") ?: "SNAPSHOT"
buildscript {
project.extra.apply {
val repoRoot = rootProject.projectDir
set("repoRoot", repoRoot)
set("cppRoot", File(repoRoot, "rd-cpp"))
set("ktRoot", File(repoRoot, "rd-kt"))
set("csRoot", File(repoRoot, "rd-net"))
}
}
repositories {
}
plugins {
base
}
allprojects {
plugins.apply("maven-publish")
configurations.all {
resolutionStrategy {
force("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
force("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
force("org.jetbrains.kotlin:kotlin-runtime:$kotlinVersion")
force("org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion")
force("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
force("org.jetbrains.kotlin:kotlin-stdlib-js:$kotlinVersion")
}
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { setUrl("https://jitpack.io") }
}
}
val clean by tasks.getting(Delete::class) {
delete(rootProject.buildDir)
}