-
Notifications
You must be signed in to change notification settings - Fork 33
/
build.gradle.kts
70 lines (60 loc) · 1.84 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
plugins {
id("org.jetbrains.kotlin.jvm") version "2.0.20"
id("org.jetbrains.intellij") version "1.17.3"
}
repositories {
mavenCentral()
}
intellij {
version.set("LATEST-EAP-SNAPSHOT")
}
subprojects {
apply {
plugin(JavaPlugin::class.java)
plugin("org.jetbrains.kotlin.jvm")
}
group = "com.intellij.remoterobot"
kotlin {
jvmToolchain(11)
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
}
if (name in listOf("remote-robot", "remote-fixtures", "robot-server-plugin", "robot-server-core", "ide-launcher", "test-recorder")) {
apply {
plugin("maven-publish")
}
configure<PublishingExtension> {
repositories {
maven {
name = "SpaceInternal"
url = uri("https://packages.jetbrains.team/maven/p/iuia/qa-automation-maven")
credentials {
username = System.getenv("SPACE_INTERNAL_ACTOR")
password = System.getenv("SPACE_INTERNAL_TOKEN")
}
}
maven {
name = "SpacePublic"
url = uri("https://packages.jetbrains.team/maven/p/ij/intellij-dependencies")
credentials {
username = System.getenv("SPACE_ACTOR")
password = System.getenv("SPACE_TOKEN")
}
}
}
}
}
}
ext {
val publishVersion: String =
get("rr_main_version") as String + "." + get("rr_build") + if (System.getenv("RUN_NUMBER") != null) {
"." + System.getenv("RUN_NUMBER")
} else {
""
}
set("publish_version", publishVersion)
}