Skip to content

Commit 7ceb624

Browse files
committed
chore: clean up Gradle build configuration and GitHub Actions workflow
- Removed the optional `ratchetFrom` setting in the Spotless plugin to simplify configuration. - Streamlined the Gradle publish command in the GitHub Actions workflow by removing unnecessary module specifications. - Adjusted formatting of dependency declarations in the demo module for consistency.
1 parent ca918a2 commit 7ceb624

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/gradle-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
4545
# the publishing section of your build.gradle
4646
- name: Publish to GitHub Packages
47-
run: ./gradlew -Pversion=$VERSION publish :core:publish :protos:publish
47+
run: ./gradlew -Pversion=$VERSION publish
4848
env:
4949
GITHUB_USERNAME: ${{ github.actor }}
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build.gradle

-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ allprojects {
6262
}
6363
}
6464
spotless {
65-
// optional: limit format enforcement to just the files changed by this feature branch
66-
ratchetFrom 'origin/master'
6765

6866
format 'misc', {
6967
// define the files to apply `misc` to

demo/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ dependencies {
2525
implementation("io.grpc:grpc-core:${grpcVersion}")
2626
implementation("io.grpc:grpc-protobuf:${grpcVersion}")
2727
implementation("io.grpc:grpc-services:${grpcVersion}")
28-
// implementation("io.grpc:grpc-services:${grpcVersion}")
28+
2929
// Management and monitoring
3030
implementation("io.micronaut:micronaut-management")
3131
implementation("io.micronaut.micrometer:micronaut-micrometer-core")
3232

33-
implementation 'ch.qos.logback:logback-classic:1.5.17'
34-
implementation 'ch.qos.logback:logback-core:1.5.17'
35-
implementation 'org.slf4j:slf4j-api:2.0.17'
33+
implementation('ch.qos.logback:logback-classic:1.5.17')
34+
implementation('ch.qos.logback:logback-core:1.5.17')
35+
implementation('org.slf4j:slf4j-api:2.0.17')
3636

3737
// Import multitenant module
3838
implementation(project(":core"))

0 commit comments

Comments
 (0)