Skip to content

Commit c38dc87

Browse files
Configure with Hubdle
1 parent d393a30 commit c38dc87

14 files changed

+469
-387
lines changed

.github/workflows/build-changelog-renovate-bot.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ on:
77

88
jobs:
99
add-updated-dependencies-to-changelog:
10-
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/build-changelog-renovate-bot.yaml@main
11-
secrets:
12-
TOKEN_GITHUB_ACTION: '${{ secrets.TOKEN_GITHUB_ACTION }}'
10+
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/build-changelog-renovate-bot.yaml@hubdle
11+
secrets: inherit

.github/workflows/build-kotlin-dispatcher.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ on:
1515

1616
jobs:
1717
build:
18-
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/build-kotlin.yaml@main
18+
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/build-kotlin.yaml@hubdle
1919
with:
2020
gradle-args: '${{ github.event.inputs.gradle-args }}'
2121
allow-github-actor-bots: false
2222
publish-all-docs: '${{ github.event.inputs.publish-all-docs }}'
23-
secrets:
24-
OSS_USER: '${{ secrets.OSS_USER }}'
25-
OSS_TOKEN: '${{ secrets.OSS_TOKEN }}'
26-
OSS_STAGING_PROFILE_ID: '${{ secrets.OSS_STAGING_PROFILE_ID }}'
27-
SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}'
23+
secrets: inherit

.github/workflows/build-kotlin.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ on:
1515

1616
jobs:
1717
build:
18-
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/build-kotlin.yaml@main
18+
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/build-kotlin.yaml@hubdle
1919
with:
2020
allow-github-actor-bots: false
21-
secrets:
22-
OSS_USER: '${{ secrets.OSS_USER }}'
23-
OSS_TOKEN: '${{ secrets.OSS_TOKEN }}'
24-
OSS_STAGING_PROFILE_ID: '${{ secrets.OSS_STAGING_PROFILE_ID }}'
25-
SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}'
21+
secrets: inherit

.github/workflows/generate-version-tag.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ on:
2828

2929
jobs:
3030
generate:
31-
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/generate-version-tag.yaml@main
31+
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/generate-version-tag.yaml@hubdle
3232
with:
3333
stage: '${{ github.event.inputs.stage }}'
3434
scope: '${{ github.event.inputs.scope }}'
35-
secrets:
36-
TOKEN_GITHUB_ACTION: '${{ secrets.TOKEN_GITHUB_ACTION }}'
35+
secrets: inherit

.github/workflows/publish-kotlin.yaml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,5 @@ on:
77

88
jobs:
99
publish:
10-
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/publish-kotlin.yaml@main
11-
secrets:
12-
OSS_USER: '${{ secrets.OSS_USER }}'
13-
OSS_TOKEN: '${{ secrets.OSS_TOKEN }}'
14-
OSS_STAGING_PROFILE_ID: '${{ secrets.OSS_STAGING_PROFILE_ID }}'
15-
SIGNING_KEY_NAME: '${{ secrets.SIGNING_KEY_NAME }}'
16-
SIGNING_KEY_ID: '${{ secrets.SIGNING_KEY_ID }}'
17-
SIGNING_KEY_PASSPHRASE: '${{ secrets.SIGNING_KEY_PASSPHRASE }}'
18-
SIGNING_KEY: '${{ secrets.SIGNING_KEY }}'
19-
GRADLE_PUBLISH_KEY: '${{ secrets.GRADLE_PUBLISH_KEY }}'
20-
GRADLE_PUBLISH_SECRET: '${{ secrets.GRADLE_PUBLISH_SECRET }}'
21-
JETBRAINS_MARKETPLACE_CERTIFICATE_CHAIN: '${{ secrets.JETBRAINS_MARKETPLACE_CERTIFICATE_CHAIN }}'
22-
JETBRAINS_MARKETPLACE_KEY: '${{ secrets.JETBRAINS_MARKETPLACE_KEY }}'
23-
JETBRAINS_MARKETPLACE_KEY_PASSPHRASE: '${{ secrets.JETBRAINS_MARKETPLACE_KEY_PASSPHRASE }}'
24-
JETBRAINS_MARKETPLACE_TOKEN: '${{ secrets.JETBRAINS_MARKETPLACE_TOKEN }}'
25-
SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}'
10+
uses: JavierSegoviaCordoba/reusable-workflows/.github/workflows/publish-kotlin.yaml@hubdle
11+
secrets: inherit

build.gradle.kts

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
1+
buildscript {
2+
dependencies {
3+
classpath(libs.jetbrains.kotlin.kotlinGradlePlugin)
4+
}
5+
}
6+
17
plugins {
2-
`javiersc-versioning`
3-
`javiersc-all-projects`
4-
`javiersc-changelog`
5-
`javiersc-code-analysis`
6-
`javiersc-code-coverage`
7-
`javiersc-code-formatter`
8-
`javiersc-docs`
9-
`javiersc-nexus`
10-
`javiersc-readme-badges-generator`
11-
`kotlinx-binary-compatibility-validator`
8+
alias(libs.plugins.javiersc.hubdle)
9+
}
10+
11+
hubdle {
12+
config {
13+
analysis()
14+
binaryCompatibilityValidator()
15+
coverage()
16+
documentation {
17+
changelog()
18+
readme {
19+
badges()
20+
}
21+
site()
22+
}
23+
nexus()
24+
}
1225
}

buildSrc/build.gradle.kts

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

buildSrc/settings.gradle.kts

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

gradle.properties

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
####################################################################################################
22
### CONFIGURATION ###
33
####################################################################################################
4-
project.name=kotlin-stdlib-javiersc
5-
allProjects.group=com.javiersc
6-
allProjects.name=kotlin
7-
readmeBadges.mainProject=kotlin-stdlib
4+
root.project.name=kotlin-stdlib-project
5+
main.project.name=kotlin-stdlib
6+
project.group=com.javiersc.kotlin
87
####################################################################################################
98
### CODE ANALYSIS ###
109
####################################################################################################
11-
codeAnalysis.sonar.organization=javiersc
10+
analysis.sonar.organization=javiersc
1211
####################################################################################################
1312
### POM ###
1413
####################################################################################################
@@ -20,9 +19,9 @@ pom.license.url=https://www.apache.org/licenses/LICENSE-2.0.txt
2019
pom.developer.id=JavierSegoviaCordoba
2120
pom.developer.name=Javier Segovia Cordoba
2221
pom.developer.email=[email protected]
23-
pom.smc.url=https://github.com/JavierSegoviaCordoba/kotlin-stdlib
24-
pom.smc.connection=scm:git:[email protected]:JavierSegoviaCordoba/kotlin-stdlib.git
25-
pom.smc.developerConnection=scm:git:[email protected]:JavierSegoviaCordoba/kotlin-stdlib.git
22+
pom.scm.url=https://github.com/JavierSegoviaCordoba/kotlin-stdlib
23+
pom.scm.connection=scm:git:[email protected]:JavierSegoviaCordoba/kotlin-stdlib.git
24+
pom.scm.developerConnection=scm:git:[email protected]:JavierSegoviaCordoba/kotlin-stdlib.git
2625
####################################################################################################
2726
### Gradle ###
2827
####################################################################################################

gradle/libs.versions.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
[versions]
22
coroutines = "1.6.3"
3+
hubdle = "0.2.0-alpha.5"
34
kotest = "5.3.0"
5+
kotlin = "1.6.21"
46

57
[libraries]
8+
jetbrains-kotlin-kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
69
jetbrains-kotlin-kotlinTest = { module = "org.jetbrains.kotlin:kotlin-test" }
710
jetbrains-kotlinx-kotlinxCoroutinesCore = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
811
kotest-kotestAssertionsCore = { module = "io.kotest:kotest-assertions-core", version.ref = "kotest" }
12+
13+
[plugins]
14+
javiersc-hubdle = { id = "com.javiersc.hubdle", version.ref = "hubdle" }

0 commit comments

Comments
 (0)