forked from redhat-developer/intellij-common-ui-test-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
103 lines (93 loc) · 3.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
plugins {
id 'java-library'
id 'maven-publish'
id 'org.jetbrains.kotlin.jvm' version '2.0.0'
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
id "org.sonarqube" version "5.1.0.4882"
}
group 'com.redhat.devtools.intellij'
version projectVersion
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url 'https://packages.jetbrains.team/maven/p/ij/intellij-dependencies'
}
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.0.0'
implementation 'org.jetbrains.kotlin:kotlin-reflect:2.0.0'
api 'commons-io:commons-io:2.16.1'
api 'org.junit.jupiter:junit-jupiter-api:5.10.3'
api 'org.junit.jupiter:junit-jupiter-engine:5.10.3'
api "com.intellij.remoterobot:remote-robot:0.11.22"
api "com.intellij.remoterobot:remote-fixtures:0.11.22"
}
java {
withSourcesJar()
withJavadocJar()
}
test {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
pom {
from components.java
name = 'IntelliJ common UI test library'
description = 'Common utilities for IntelliJ UI testing'
url = 'https://github.com/redhat-developer/intellij-common-ui-test-library'
licenses {
license {
name = 'Eclipse Public License 2.0'
url = 'https://www.eclipse.org/legal/epl-v20.html'
}
}
developers {
developer {
name = 'Red Hat Developer'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:git://github.com/redhat-developer/intellij-common-ui-test-library.git'
developerConnection = 'scm:git:ssh://[email protected]:redhat-developer/intellij-common-ui-test-library.git'
url = 'https://github.com/redhat-developer/intellij-common-ui-test-library/'
}
}
}
}
repositories {
maven {
def releasesRepoUrl = "https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/"
def snapshotsRepoUrl = "https://repository.jboss.org/nexus/content/repositories/snapshots/"
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = nexusUser
password = nexusPassword
}
}
}
}
nexusPublishing {
packageGroup = 'JBoss Releases Staging Profile'
repositories {
jbossNexus {
stagingProfileId = '2161b7b8da0080'
username = nexusUser
password = nexusPassword
nexusUrl.set(uri('https://repository.jboss.org/nexus/service/local/'))
snapshotRepositoryUrl.set(uri('https://repository.jboss.org/nexus/content/repositories/snapshots/'))
}
}
}
sonarqube {
properties {
property "sonar.projectKey", "redhat-developer_intellij-common-ui-test-library"
property "sonar.organization", "redhat-developer"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.sources", "src"
}
}