Skip to content

Commit ff798bb

Browse files
authored
Merge pull request #3 from teogor/fix/actions
Resolve Publishing to Maven Central and Documentation Deployment Issues
2 parents be586f2 + f9c36ba commit ff798bb

7 files changed

Lines changed: 42 additions & 40 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ concurrency:
1919
cancel-in-progress: false
2020

2121
env:
22-
DESTINATION_BRANCH: docs/${{ github.event.repository.owner.name }}/${{ github.event.repository.name }}/${{ github.sha }}
22+
OWNER: teogor
23+
DESTINATION_BRANCH: docs/teogor/${{ github.event.repository.name }}/${{ github.sha }}
2324
REPOSITORY: ${{ github.event.repository.name }}
24-
REPO: ${{ github.event.repository.owner.name }}/${{ github.event.repository.name }}
25+
REPO: teogor/${{ github.event.repository.name }}
2526
DISPLAY_NAME: Xenoglot
2627

2728
jobs:

.github/workflows/publish-to-maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
- name: Grant Permission to Execute Gradle
3232
run: chmod +x gradlew
3333

34-
- name: Publish to MavenCentral
34+
- name: Publish to Maven Central
3535
run: |
36-
./gradlew :publish --no-configuration-cache
36+
./gradlew publish --no-configuration-cache

android/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
plugins {
1818
alias(libs.plugins.android.library)
1919
alias(libs.plugins.kotlin.android)
20-
id("dev.teogor.winds")
20+
21+
alias(libs.plugins.winds)
2122
}
2223

2324
kotlin {

bom/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616
plugins {
17-
id("dev.teogor.winds")
17+
alias(libs.plugins.winds)
1818
}
1919

2020
winds {

build.gradle.kts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ import dev.teogor.winds.api.MavenPublish
33
import dev.teogor.winds.api.getValue
44
import dev.teogor.winds.api.model.Developer
55
import dev.teogor.winds.api.model.LicenseType
6-
import dev.teogor.winds.api.model.Version
6+
import dev.teogor.winds.api.model.createVersion
77
import dev.teogor.winds.api.provider.Scm
88
import dev.teogor.winds.gradle.utils.afterWindsPluginConfiguration
99
import dev.teogor.winds.gradle.utils.attachTo
1010
import org.jetbrains.dokka.gradle.DokkaMultiModuleTask
1111
import org.jetbrains.dokka.gradle.DokkaPlugin
12-
import org.jetbrains.dokka.gradle.DokkaTask
1312

1413
buildscript {
1514
repositories {
@@ -27,11 +26,12 @@ plugins {
2726
// Android Tools
2827
alias(libs.plugins.android.library) apply false
2928

30-
alias(libs.plugins.winds)
31-
alias(libs.plugins.vanniktech.maven)
32-
alias(libs.plugins.dokka)
33-
alias(libs.plugins.spotless)
34-
alias(libs.plugins.api.validator)
29+
alias(libs.plugins.winds) apply true
30+
31+
alias(libs.plugins.vanniktech.maven) apply true
32+
alias(libs.plugins.dokka) apply true
33+
alias(libs.plugins.spotless) apply true
34+
alias(libs.plugins.api.validator) apply true
3535
}
3636

3737
winds {
@@ -52,12 +52,11 @@ winds {
5252

5353
groupId = "dev.teogor.xenoglot"
5454
artifactIdElements = 1
55+
url = "https://source.teogor.dev/xenoglot"
5556

56-
version = Version(
57-
major = 1,
58-
minor = 0,
59-
patch = 0,
60-
).setAlphaRelease(1)
57+
version = createVersion(1, 0, 0) {
58+
alphaRelease(1)
59+
}
6160

6261
// TODO winds
6362
// required by dokka

core/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
1717

1818
plugins {
1919
`kotlin-dsl`
20-
id("dev.teogor.winds")
20+
21+
alias(libs.plugins.winds)
2122
}
2223

2324
java {

gradle/libs.versions.toml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22
apiValidator = "0.13.2"
33
aboutLibraries = "10.8.3"
44
accompanist = "0.33.2-alpha"
5-
androidDesugarJdkLibs = "2.0.3"
6-
androidGradlePlugin = "8.1.2"
7-
androidxActivity = "1.8.0"
5+
androidDesugarJdkLibs = "2.0.4"
6+
androidGradlePlugin = "8.1.1"
7+
androidxActivity = "1.8.1"
88
androidxAppCompat = "1.6.1"
99
androidxAnnotation = "1.7.0"
10-
androidxBrowser = "1.6.0"
10+
androidxBrowser = "1.7.0"
1111
androidxComposeBom = "2023.10.01"
1212
androidxComposeCompiler = "1.5.3"
13-
androidxComposeMaterial3 = "1.2.0-alpha10"
14-
androidxComposeRuntimeTracing = "1.0.0-alpha04"
13+
androidxComposeMaterial3 = "1.2.0-alpha11"
14+
androidxComposeRuntimeTracing = "1.0.0-alpha05"
1515
androidxConstraint = "1.1.0-alpha13"
1616
androidxCore = "1.12.0"
1717
androidxCoreSplashscreen = "1.0.1"
1818
androidxDataStore = "1.0.0"
1919
androidxEspresso = "3.5.1"
20-
androidxHiltNavigationCompose = "1.0.0"
20+
androidxHiltNavigationCompose = "1.1.0"
2121
androidxLifecycle = "2.6.2"
22-
androidxMacroBenchmark = "1.2.0"
22+
androidxMacroBenchmark = "1.2.1"
2323
androidxMetrics = "1.0.0-alpha04"
24-
androidxNavigation = "2.7.4"
24+
androidxNavigation = "2.7.5"
2525
androidxProfileinstaller = "1.3.1"
2626
androidxStartup = "1.1.1"
2727
androidxTestCore = "1.5.0"
@@ -30,50 +30,50 @@ androidxTestRules = "1.5.0"
3030
androidxTestRunner = "1.5.3"
3131
androidxTracing = "1.1.0"
3232
androidxUiAutomator = "2.2.0"
33-
androidxWindowManager = "1.1.0"
33+
androidxWindowManager = "1.2.0"
3434
androidxWork = "2.8.1"
3535
buildConfig = "3.1.0"
36-
coil = "2.2.2"
36+
coil = "2.4.0"
3737
colorMath = "3.2.0"
3838
dokka = "1.9.0"
3939
espressoCore = "3.5.1"
40-
firebaseBom = "32.4.0"
40+
firebaseBom = "32.6.0"
4141
firebaseCrashlyticsPlugin = "2.9.9"
4242
firebasePerfPlugin = "1.4.2"
4343
googleMaterial = "1.10.0"
4444
gmsPlugin = "4.4.0"
4545
gson = "2.10.1"
4646
gradlePublish = "1.1.0"
47-
hilt = "2.47"
48-
hiltExt = "1.0.0"
47+
hilt = "2.48.1"
48+
hiltExt = "1.1.0"
4949
jacoco = "0.8.7"
5050
jsoup = "1.16.1"
5151
junit = "4.13.2"
5252
junit4 = "4.13.2"
53-
kotlin = "1.9.10"
54-
kotlinxCollections = "0.3.5"
53+
kotlin = "1.9.20"
54+
kotlinxCollections = "0.3.6"
5555
kotlinxCoroutines = "1.7.3"
5656
kotlinxDatetime = "0.4.1"
5757
kotlinxSerializationJson = "1.6.0"
5858
ksp = "1.9.10-1.0.13"
5959
landscapist = "2.2.3"
60-
lint = "31.1.2"
60+
lint = "31.1.4"
6161
lifecycleRuntimeKtx = "2.6.2"
62-
okhttp = "4.10.0"
63-
protobuf = "3.24.0"
62+
okhttp = "4.12.0"
63+
protobuf = "3.24.4"
6464
protobufPlugin = "0.9.4"
6565
retrofit = "2.9.0"
6666
retrofitKotlinxSerializationJson = "1.0.0"
6767
room = "2.6.0"
6868
spotless = "6.21.0"
6969
startup = "1.2.0-alpha02"
70-
turbine = "0.12.1"
70+
turbine = "1.0.0"
7171
vanniktechMavenPlugin = "0.25.3"
7272
kotlin-poet = "1.14.2"
7373
kotlin-xml-builder = "1.9.1"
7474
kotlinx-serialization-core = "1.6.0"
7575
jdom2 = "2.0.6.1"
76-
winds = "1.0.0-alpha02"
76+
winds = "1.0.0-alpha03"
7777

7878
[libraries]
7979
about-libraries-core = { group = "com.mikepenz", name = "aboutlibraries-core", version.ref = "aboutLibraries" }

0 commit comments

Comments
 (0)