Skip to content

Commit 41a5f87

Browse files
Bump publishing, bring back automatic release of artifacts (#118)
* Bump publishing, bring back automatic release of artifacts * New api version
1 parent cfb1118 commit 41a5f87

File tree

6 files changed

+11
-18
lines changed

6 files changed

+11
-18
lines changed

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ jobs:
3434
env:
3535
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
3636
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
37-
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --no-daemon --no-parallel --stacktrace
38-
37+
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --no-daemon --no-parallel
3938

4039
- name: Stop Gradle
4140
run: ./gradlew --stop

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
3737
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY }}
3838
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_PASSWORD }}
39-
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --no-daemon --no-parallel --stacktrace
39+
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --no-daemon --no-parallel
4040

4141
- name: Github release
4242
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Compose Calendar is a composable handling all complexity of rendering calendar component and date selection.
44
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.
55

6-
![Github Actions](https://github.com/boguszpawlowski/composecalendar/actions/workflows/check.yml/badge.svg?branch=main)
6+
![Github Actions](https://github.com/boguszpawlowski/composecalendar/actions/workflows/publish-snapshot.yml/badge.svg?branch=main)
77
[<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)
88
[<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/)
99
[<img src="https://androidweekly.net/issues/issue-501/badge"/>](https://androidweekly.net/issues/issue-501/)

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ gradlePlugin {
1818

1919
dependencies {
2020
implementation("com.android.tools.build:gradle:8.2.0")
21-
implementation(kotlin("gradle-plugin", "1.8.10"))
21+
implementation(kotlin("gradle-plugin", "1.9.20"))
2222
}

buildSrc/src/main/kotlin/Dependencies.kt

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@file:Suppress("ObjectPropertyNaming", "ClassNaming", "UnderscoresInNumericLiterals")
22
object MavenPublish {
33
const val PluginId = "com.vanniktech.maven.publish"
4-
const val GradlePlugin = "com.vanniktech:gradle-maven-publish-plugin:0.25.2"
4+
const val GradlePlugin = "com.vanniktech:gradle-maven-publish-plugin:0.27.0"
55
}
66

77
object AndroidSdk {
@@ -11,24 +11,20 @@ object AndroidSdk {
1111
}
1212

1313
object Kotlin {
14-
const val Version = "1.9.20"
15-
const val CompatibilityPluginVersion = "0.11.0"
14+
const val Version = "1.9.21"
15+
const val CompatibilityPluginVersion = "0.13.2"
1616

1717
const val GradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$Version"
18-
const val DokkaGradlePlugin = "org.jetbrains.dokka:dokka-gradle-plugin:1.7.20"
19-
20-
const val SafeArgsPlugin = "androidx.navigation:navigation-safe-args-gradle-plugin:2.2.0"
18+
const val DokkaGradlePlugin = "org.jetbrains.dokka:dokka-gradle-plugin:1.9.10"
2119

2220
const val AndroidPluginId = "android"
23-
const val KaptPluginId = "kapt"
24-
const val SafeArgsPluginId = "androidx.navigation.safeargs.kotlin"
2521
const val JvmPluginId = "jvm"
2622

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

3026
const val DesugarJdkLibs = "com.android.tools:desugar_jdk_libs:2.0.4"
31-
const val DateTime = "org.jetbrains.kotlinx:kotlinx-datetime:0.4.0"
27+
const val DateTime = "org.jetbrains.kotlinx:kotlinx-datetime:0.5.0"
3228
}
3329

3430
object Android {
@@ -100,7 +96,7 @@ object Timber {
10096

10197
object Compose {
10298
const val Version = "1.3.1"
103-
const val CompilerVersion = "1.4.3"
99+
const val CompilerVersion = "1.5.5"
104100
const val AccompanistVersion = "0.25.1"
105101

106102
const val Runtime = "androidx.compose.runtime:runtime:$Version"
@@ -110,11 +106,8 @@ object Compose {
110106
const val Material = "androidx.compose.material:material:$Version"
111107
const val Ui = "androidx.compose.ui:ui:$Version"
112108
const val UiTooling = "androidx.compose.ui:ui-tooling:$Version"
113-
const val MaterialIconsExtended = "androidx.compose.material:material-icons-extended:$Version"
114109
const val AccompanistPager = "com.google.accompanist:accompanist-pager:$AccompanistVersion"
115110
const val Navigation = "androidx.navigation:navigation-compose:2.5.0-alpha03"
116-
const val Testing = "androidx.compose.ui:ui-test:$Version"
117-
const val JunitTesting = "androidx.compose.ui:ui-test-junit4:$Version"
118111
}
119112

120113
object Debug {

library/api/library.api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ public final class io/github/boguszpawlowski/composecalendar/selection/Selection
204204
public static final field None Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
205205
public static final field Period Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
206206
public static final field Single Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
207+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
207208
public static fun valueOf (Ljava/lang/String;)Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
208209
public static fun values ()[Lio/github/boguszpawlowski/composecalendar/selection/SelectionMode;
209210
}

0 commit comments

Comments
 (0)