diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 2bea541..03a79ec 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -25,11 +25,11 @@ jobs: - name: Run gradle build and publish run: > - gradle shadowDistZip + gradle publish shadowDistZip -PmineinabyssMavenUsername=${{ secrets.MAVEN_PUBLISH_USERNAME }} -PmineinabyssMavenPassword=${{ secrets.MAVEN_PUBLISH_PASSWORD }} - uses: MineInAbyss/publish-action@develop with: run-gradle-build: false release-files: | - build/distributions/keepup-shadow*.zip + keepup/cli/build/distributions/keepup-shadow*.zip diff --git a/keepup-api/build.gradle.kts b/keepup-api/build.gradle.kts index 3f08992..efc6f04 100644 --- a/keepup-api/build.gradle.kts +++ b/keepup-api/build.gradle.kts @@ -1,6 +1,7 @@ plugins { alias(libs.plugins.kotlinJvm) alias(libs.plugins.kotlinx.serialization) + alias(idofrontLibs.plugins.mia.publication) } dependencies { @@ -12,8 +13,10 @@ dependencies { implementation(libs.ktor.client.core) implementation(libs.ktor.client.cio) implementation(libs.mordant) -// implementation(libs.clikt) -// implementation(libs.slf4j) implementation("io.pebbletemplates:pebble:3.2.2") +} +java { + withSourcesJar() + withJavadocJar() }