Skip to content

Commit a94c6cd

Browse files
committed
chore: bump version
update to kotlin-based gradle Signed-off-by: Stephane Bouchet <[email protected]>
1 parent cbcdac7 commit a94c6cd

File tree

13 files changed

+298
-230
lines changed

13 files changed

+298
-230
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
version: 2
44
updates:
5-
# Updates for Github Actions
5+
# Updates for GitHub Actions
66
- package-ecosystem: "github-actions"
77
directory: "/"
88
schedule:

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env groovy
22

3-
node('rhel7') {
3+
node('rhel9') {
44
def javaHome = tool 'openjdk-17'
55
env.JAVA_HOME = "${javaHome}"
66

build.gradle

Lines changed: 0 additions & 103 deletions
This file was deleted.

build.gradle.kts

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
plugins {
2+
id("java-library")
3+
id("maven-publish")
4+
alias(libs.plugins.gradleNexusPublishPlugin)
5+
alias(libs.plugins.sonarqube) // SonarQube
6+
}
7+
8+
group = "com.redhat.devtools.intellij"
9+
version = providers.gradleProperty("projectVersion").get() // Plugin version
10+
11+
repositories {
12+
mavenLocal()
13+
mavenCentral()
14+
maven {
15+
url = uri("https://packages.jetbrains.team/maven/p/ij/intellij-dependencies")
16+
}
17+
}
18+
19+
dependencies {
20+
implementation(libs.kotlin.reflect)
21+
api(libs.junit.jupiter.api)
22+
api(libs.remote.robot)
23+
api(libs.remote.fixtures)
24+
}
25+
26+
27+
java {
28+
withSourcesJar()
29+
withJavadocJar()
30+
}
31+
32+
tasks {
33+
wrapper {
34+
gradleVersion = providers.gradleProperty("gradleVersion").get()
35+
}
36+
37+
test {
38+
useJUnitPlatform()
39+
}
40+
41+
sonar {
42+
properties {
43+
property("sonar.projectKey", "redhat-developer_intellij-common-ui-test-library")
44+
property("sonar.organization", "redhat-developer")
45+
property("sonar.host.url", "https://sonarcloud.io")
46+
property("sonar.sources", "src")
47+
//property("sonar.gradle.skipCompile", "true")
48+
}
49+
}
50+
51+
}
52+
53+
publishing {
54+
publications {
55+
create<MavenPublication>("mavenJava") {
56+
from(components["java"])
57+
artifact(tasks.named("sourcesJar"))
58+
artifact(tasks.named("javadocJar"))
59+
pom {
60+
name.set("IntelliJ common UI test library")
61+
description.set("Common utilities for IntelliJ UI testing")
62+
url.set("https://github.com/redhat-developer/intellij-common-ui-test-library")
63+
64+
licenses {
65+
license {
66+
name.set("Eclipse Public License 2.0")
67+
url.set("https://www.eclipse.org/legal/epl-v20.html")
68+
}
69+
}
70+
developers {
71+
developer {
72+
name.set("Red Hat Developer")
73+
email.set("[email protected]")
74+
}
75+
}
76+
scm {
77+
connection.set("scm:git:git://github.com/redhat-developer/intellij-common-ui-test-library.git")
78+
developerConnection.set("scm:git:ssh://[email protected]:redhat-developer/intellij-common-ui-test-library.git")
79+
url.set("https://github.com/redhat-developer/intellij-common-ui-test-library/")
80+
}
81+
}
82+
}
83+
}
84+
}
85+
86+
nexusPublishing {
87+
packageGroup.set("JBoss Releases Staging Profile")
88+
repositories {
89+
create("jbossNexus") {
90+
nexusUrl.set(uri("https://repository.jboss.org/nexus/service/local/"))
91+
snapshotRepositoryUrl.set(uri("https://repository.jboss.org/nexus/content/repositories/snapshots/"))
92+
username.set(project.properties["nexusUser"].toString()) // defaults to project.properties["myNexusUsername"]
93+
password.set(project.properties["nexusPassword"].toString()) // defaults to project.properties["myNexusPassword"]
94+
}
95+
}
96+
}

gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
projectVersion=0.4.3
1+
projectVersion=0.4.4-SNAPSHOT
22
nexusUser=invalid
33
nexusPassword=invalid
4+
5+
# Gradle Releases -> https://github.com/gradle/gradle/releases
6+
gradleVersion=8.5

gradle/libs.versions.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[versions]
2+
# libraries
3+
remote-robot = "0.11.22"
4+
kotlin = "2.1.0"
5+
junit-jupiter = "5.11.3"
6+
7+
# plugins
8+
gradleNexusPublishPlugin = "2.0.0"
9+
sonarqube = "5.1.0.4882"
10+
11+
[libraries]
12+
kotlin-reflect = { group = "org.jetbrains.kotlin", name = "kotlin-reflect", version.ref = "kotlin" }
13+
junit-jupiter-api = { group = "org.junit.jupiter", name = "junit-jupiter-api", version.ref = "junit-jupiter" }
14+
remote-robot = { group = "com.intellij.remoterobot", name = "remote-robot", version.ref = "remote-robot" }
15+
remote-fixtures = { group = "com.intellij.remoterobot", name = "remote-fixtures", version.ref = "remote-robot" }
16+
17+
[plugins]
18+
gradleNexusPublishPlugin = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "gradleNexusPublishPlugin" }
19+
sonarqube = { id = "org.sonarqube", version.ref = "sonarqube" }

gradle/wrapper/gradle-wrapper.jar

2.32 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)