Skip to content

Commit 8f5319d

Browse files
committed
chore(deps): gradle 9
1 parent 3b2d5cb commit 8f5319d

File tree

10 files changed

+237
-180
lines changed

10 files changed

+237
-180
lines changed

.github/workflows/gradle-ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: Bundle Gradle CI
2+
3+
on: [workflow_dispatch, push, pull_request]
4+
5+
jobs:
6+
call-workflow:
7+
uses: tomasbjerre/.github/.github/workflows/bundle-gradle-ci.yaml@master

.github/workflows/gradle-ci.yml

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

.github/workflows/publish-release-on-tag-push.yaml

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

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1-
# Bitbucket Cloud Java Rest API
1+
# JAX-RS server with OpenAPI
2+
3+
## Overview
4+
This server was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using an
5+
[OpenAPI-Spec](https://openapis.org), you can easily generate a server stub.
6+
7+
This is an example of building a OpenAPI-enabled JAX-RS server.
8+
This example uses the [JAX-RS](https://jax-rs-spec.java.net/) framework.
9+
10+
This project produces a jar that defines some interfaces.
11+
The jar can be used in combination with another project providing the implementation.
212

3-
This project produces JAX-RS annotated types that can be given to something like RestEasy to produce clients. Running example here: https://github.com/tomasbjerre/violation-comments-to-bitbucket-cloud-lib

build.gradle

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
plugins {
2-
id "se.bjurr.gradle.conventional-release" version "0.+"
3-
id "se.bjurr.gradle.java-convention" version "0.+"
4-
id "se.bjurr.gradle.update-versions" version "0.+"
5-
id "org.openapi.generator" version "7.14.0"
2+
id "se.bjurr.gradle.bundle-jar" version "1.3.8"
3+
id "org.openapi.generator" version "7.16.0"
4+
}
5+
6+
javaExtension {
7+
javaVersion = 17
8+
}
9+
10+
formatting {
11+
formattingExcludedPatterns = ["src/gen/java"]
612
}
713

814
dependencies {
915
api 'io.swagger:swagger-annotations:1.6.16'
1016
api 'jakarta.ws.rs:jakarta.ws.rs-api:4.0.0'
11-
api 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.19.1'
12-
api 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.19.1'
17+
api "com.fasterxml.jackson.datatype:jackson-datatype-joda:2.20.0"
18+
api "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.20.0"
1319
api 'jakarta.validation:jakarta.validation-api:3.1.1'
1420
api 'jakarta.annotation:jakarta.annotation-api:3.0.0'
1521
}
@@ -31,7 +37,9 @@ openApiGenerate {
3137
]
3238
}
3339

40+
processTestResources.dependsOn 'openApiGenerate'
3441
compileJava.dependsOn 'openApiGenerate'
42+
compileGroovy.dependsOn 'openApiGenerate'
3543

3644
tasks.named("spotlessGroovyGradle") {
3745
dependsOn(tasks.named("openApiGenerate"))

gradle.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#
2-
#Thu Jul 17 16:06:54 CEST 2025
2+
#Mon Oct 06 17:00:52 CEST 2025
33
description='Rest client for Bitbucket CLoud'
4-
formattingExcludedPatterns=**/src/gen/**.java
54
group=se.bjurr.bitbucketcloud
6-
version=2.0.0
5+
version=2.0.1

gradle/wrapper/gradle-wrapper.jar

1.83 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)