forked from JetBrains/intellij-ui-test-robot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
61 lines (50 loc) · 1.41 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
import groovy.lang.GroovyObject
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jfrog.gradle.plugin.artifactory.dsl.PublisherConfig
plugins {
id("com.jfrog.artifactory") version "4.9.9"
id("org.jetbrains.kotlin.jvm") version "1.4.10"
id("org.jetbrains.intellij") version "0.5.0"
}
repositories {
mavenCentral()
}
subprojects {
apply {
plugin(JavaPlugin::class.java)
plugin("org.jetbrains.kotlin.jvm")
}
group = "com.intellij.remoterobot"
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
}
}
configure(listOf(project(":remote-robot"), project(":robot-server-plugin"))) {
apply {
plugin("com.jfrog.artifactory")
plugin("maven-publish")
}
artifactory {
setContextUrl("https://repo.labs.intellij.net")
publish(delegateClosureOf<PublisherConfig> {
repository(delegateClosureOf<GroovyObject> {
setProperty("repoKey", "intellij")
setProperty("maven", true)
})
setPublishPom(true)
})
}
}
ext {
set("rr_version", "${get("rr_main_version")}.${get("rr_build")}")
}