Skip to content

Commit

Permalink
Bump publishing, bring back automatic release of artifacts (#118)
Browse files Browse the repository at this point in the history
* Bump publishing, bring back automatic release of artifacts

* New api version
  • Loading branch information
boguszpawlowski authored May 13, 2024
1 parent cfb1118 commit 41a5f87
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --no-daemon --no-parallel --stacktrace

run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --no-daemon --no-parallel

- name: Stop Gradle
run: ./gradlew --stop
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_PASSWORD }}
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --no-daemon --no-parallel --stacktrace
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --no-daemon --no-parallel

- name: Github release
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Compose Calendar is a composable handling all complexity of rendering calendar component and date selection.
Due to flexibility provided by slot API's, you can decide how the calendar will look like, the library will handle proper calendar elements arrangement and it's state.

![Github Actions](https://github.com/boguszpawlowski/composecalendar/actions/workflows/check.yml/badge.svg?branch=main)
![Github Actions](https://github.com/boguszpawlowski/composecalendar/actions/workflows/publish-snapshot.yml/badge.svg?branch=main)
[<img src="https://img.shields.io/maven-central/v/io.github.boguszpawlowski.composecalendar/composecalendar.svg?label=release%20version"/>](https://search.maven.org/search?q=g:io.github.boguszpawlowski.composecalendar)
[<img src="https://img.shields.io/nexus/s/https/s01.oss.sonatype.org/io.github.boguszpawlowski.composecalendar/composecalendar.svg?label=snapshot%20version"/>](https://s01.oss.sonatype.org/content/repositories/snapshots/io/github/boguszpawlowski/composecalendar/)
[<img src="https://androidweekly.net/issues/issue-501/badge"/>](https://androidweekly.net/issues/issue-501/)
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ gradlePlugin {

dependencies {
implementation("com.android.tools.build:gradle:8.2.0")
implementation(kotlin("gradle-plugin", "1.8.10"))
implementation(kotlin("gradle-plugin", "1.9.20"))
}
19 changes: 6 additions & 13 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@file:Suppress("ObjectPropertyNaming", "ClassNaming", "UnderscoresInNumericLiterals")
object MavenPublish {
const val PluginId = "com.vanniktech.maven.publish"
const val GradlePlugin = "com.vanniktech:gradle-maven-publish-plugin:0.25.2"
const val GradlePlugin = "com.vanniktech:gradle-maven-publish-plugin:0.27.0"
}

object AndroidSdk {
Expand All @@ -11,24 +11,20 @@ object AndroidSdk {
}

object Kotlin {
const val Version = "1.9.20"
const val CompatibilityPluginVersion = "0.11.0"
const val Version = "1.9.21"
const val CompatibilityPluginVersion = "0.13.2"

const val GradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$Version"
const val DokkaGradlePlugin = "org.jetbrains.dokka:dokka-gradle-plugin:1.7.20"

const val SafeArgsPlugin = "androidx.navigation:navigation-safe-args-gradle-plugin:2.2.0"
const val DokkaGradlePlugin = "org.jetbrains.dokka:dokka-gradle-plugin:1.9.10"

const val AndroidPluginId = "android"
const val KaptPluginId = "kapt"
const val SafeArgsPluginId = "androidx.navigation.safeargs.kotlin"
const val JvmPluginId = "jvm"

const val CompatibilityPlugin = "org.jetbrains.kotlinx.binary-compatibility-validator"
const val CompatibilityPluginId = "binary-compatibility-validator"

const val DesugarJdkLibs = "com.android.tools:desugar_jdk_libs:2.0.4"
const val DateTime = "org.jetbrains.kotlinx:kotlinx-datetime:0.4.0"
const val DateTime = "org.jetbrains.kotlinx:kotlinx-datetime:0.5.0"
}

object Android {
Expand Down Expand Up @@ -100,7 +96,7 @@ object Timber {

object Compose {
const val Version = "1.3.1"
const val CompilerVersion = "1.4.3"
const val CompilerVersion = "1.5.5"
const val AccompanistVersion = "0.25.1"

const val Runtime = "androidx.compose.runtime:runtime:$Version"
Expand All @@ -110,11 +106,8 @@ object Compose {
const val Material = "androidx.compose.material:material:$Version"
const val Ui = "androidx.compose.ui:ui:$Version"
const val UiTooling = "androidx.compose.ui:ui-tooling:$Version"
const val MaterialIconsExtended = "androidx.compose.material:material-icons-extended:$Version"
const val AccompanistPager = "com.google.accompanist:accompanist-pager:$AccompanistVersion"
const val Navigation = "androidx.navigation:navigation-compose:2.5.0-alpha03"
const val Testing = "androidx.compose.ui:ui-test:$Version"
const val JunitTesting = "androidx.compose.ui:ui-test-junit4:$Version"
}

object Debug {
Expand Down
1 change: 1 addition & 0 deletions library/api/library.api
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ public final class io/github/boguszpawlowski/composecalendar/selection/Selection
public static final field None Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
public static final field Period Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
public static final field Single Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
public static fun values ()[Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
}
Expand Down

0 comments on commit 41a5f87

Please sign in to comment.