Skip to content

Commit 5974145

Browse files
committed
Add release CI pipeline / Update versions
1 parent e43e0f7 commit 5974145

File tree

8 files changed

+37
-3
lines changed

8 files changed

+37
-3
lines changed
File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Validate Gradle Wrapper
2+
on: [ push, pull_request ]
3+
jobs:
4+
validation:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/[email protected]
8+
- uses: gradle/[email protected]

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
jobs:
7+
release-build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: git clone
11+
uses: actions/[email protected]
12+
- name: Set up JDK
13+
uses: actions/[email protected]
14+
with:
15+
distribution: temurin
16+
java-version: 11
17+
- name: Set up Gradle
18+
uses: gradle/[email protected]
19+
- run: "./gradlew :publishPlugin --no-configuration-cache"
20+
env:
21+
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
22+
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
23+
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
24+
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ java {
1414
dependencies {
1515
implementation("org.ow2.asm:asm:8.0.1")
1616

17-
testImplementation("org.spockframework:spock-core:2.1-groovy-3.0")
17+
testImplementation("org.spockframework:spock-core:2.3-groovy-3.0")
1818
}
1919

2020
pluginPublishConventions {

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
org.gradle.caching=true
2+
org.gradle.configuration-cache=true
23
org.gradle.parallel=true

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("com.gradle.enterprise") version "3.10"
2+
id("com.gradle.enterprise") version "3.13"
33
}
44

55
rootProject.name = "extra-java-module-info"

src/test/groovy/org/gradlex/javamodule/moduleinfo/test/AbstractFunctionalTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ abstract class AbstractFunctionalTest extends Specification {
348348
349349
extraJavaModuleInfo {
350350
failOnMissingModuleInfo.set(false)
351-
module("org.apache.qpid:qpid-jms-client", "qpid.jms.client")
351+
module("${libs.qpidJmsClient}", "qpid.jms.client")
352352
}
353353
"""
354354

src/test/groovy/org/gradlex/javamodule/moduleinfo/test/fixture/LegacyLibraries.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class LegacyLibraries {
1818
def javaxInject = jarNameOnly ? "javax.inject-1.jar" : "javax.inject:javax.inject"
1919
def jsr305 = jarNameOnly ? "jsr305-3.0.2.jar" : "com.google.code.findbugs:jsr305"
2020
def log4jCore = jarNameOnly ? "log4j-core-2.14.0.jar" : "org.apache.logging.log4j:log4j-core"
21+
def qpidJmsClient = jarNameOnly ? "qpid-jms-client-2.2.0.jar" : "org.apache.qpid:qpid-jms-client"
2122
def sac = jarNameOnly ? "sac-1.3.jar" : "org.w3c.css:sac"
2223
def slf4jApi = jarNameOnly ? "slf4j-api-1.7.32.jar" : "org.slf4j:slf4j-api"
2324
def slf4jExt = jarNameOnly ? "slf4j-ext-1.7.32.jar" : "org.slf4j:slf4j-ext"

0 commit comments

Comments
 (0)