File tree Expand file tree Collapse file tree 5 files changed +66
-6
lines changed Expand file tree Collapse file tree 5 files changed +66
-6
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " gradle"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " daily"
7
+ commit-message :
8
+ prefix : " fix"
9
+ groups :
10
+ runtime-dependencies :
11
+ patterns :
12
+ - " org.jetbrains.kotlin:kotlin-gradle-plugin:*"
13
+ - " org.jetbrains.dokka:dokka-gradle-plugin:*"
14
+ - " io.github.gradle-nexus:publish-plugin:*"
15
+ - " com.palantir.gradle.gitversion:gradle-git-version:*"
16
+ - " org.springframework.boot:spring-boot-gradle-plugin:*"
17
+ - " io.spring.gradle:dependency-management-plugin:*"
18
+ - " org.jetbrains.kotlin:kotlin-allopen:*"
Original file line number Diff line number Diff line change
1
+ # This workflow will build a Gradle project then perform an automated release
2
+ # For more information see:
3
+ # https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
4
+ # https://github.com/marketplace/actions/action-for-semantic-release
5
+
6
+ name : CI
7
+ on :
8
+ push :
9
+ branches :
10
+ - main
11
+ pull_request :
12
+ branches :
13
+ - main
14
+ jobs :
15
+ build :
16
+ uses : lsd-consulting/shared-workflows/.github/workflows/build.yml@main
17
+ with :
18
+ java-version : ' 17'
19
+ codecov : true
20
+ secrets : inherit
21
+ release :
22
+ needs : build
23
+ uses : lsd-consulting/shared-workflows/.github/workflows/release.yml@main
24
+ with :
25
+ java-version : ' 17'
26
+ secrets : inherit
Original file line number Diff line number Diff line change
1
+ name : Merge dependabot PR
2
+ on :
3
+ pull_request_target :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ pr-merge :
8
+ uses : lsd-consulting/shared-workflows/.github/workflows/dependabot-merge.yml@main
9
+ secrets : inherit
Original file line number Diff line number Diff line change
1
+ name : Nightly Build
2
+ on :
3
+ workflow_dispatch :
4
+ schedule :
5
+ - cron : ' 0 2 * * *' # run at 2 AM UTC
6
+ jobs :
7
+ build :
8
+ uses : lsd-consulting/shared-workflows/.github/workflows/build.yml@main
9
+ with :
10
+ java-version : ' 17'
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
`kotlin- dsl`
3
3
`maven- publish`
4
- // signing // Temporarily disabled for local testing
4
+ signing
5
5
id(" io.github.gradle-nexus.publish-plugin" ) version " 2.0.0"
6
6
id(" com.palantir.git-version" ) version " 4.0.0"
7
7
}
@@ -95,21 +95,18 @@ publishing {
95
95
}
96
96
}
97
97
98
- // Signing temporarily disabled for local testing
99
- /*
100
98
signing {
101
99
if (project.findProperty(" signingKey" ) != null ) {
102
100
// Use in-memory ascii-armored keys
103
- val signingKey: String? by project
104
- val signingPassword: String? by project
101
+ val signingKey: String? = findProperty( " signingKey " ) as String?
102
+ val signingPassword: String? = findProperty( " signingPassword " ) as String?
105
103
useInMemoryPgpKeys(signingKey, signingPassword)
106
104
sign(publishing.publications)
107
105
} else {
108
106
// Use signing properties in ~/.gradle/gradle.properties
109
107
sign(publishing.publications)
110
108
}
111
109
}
112
- */
113
110
114
111
nexusPublishing {
115
112
repositories {
You can’t perform that action at this time.
0 commit comments