Skip to content

Commit

Permalink
Bumped Version and moved default functions from internal to publc (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-manshu authored Jun 5, 2023
1 parent 5d148ca commit 2d6a5cf
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-dokka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
mv docs/*.md gh-pages/docs
- name: Publish Documentation
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4.4.2
with:
branch: gh-pages
folder: gh-pages
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
dependencies {
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.0"
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.3.2"
}
}
plugins {
id 'com.android.application' version '8.0.1' apply false
id 'com.android.library' version '8.0.0' apply false
id 'com.android.application' version '8.0.2' apply false
id 'com.android.library' version '8.0.2' apply false
id 'org.jetbrains.kotlin.android' version '1.8.21' apply false
id 'org.jetbrains.dokka' version "1.8.10"
}
Expand Down
5 changes: 3 additions & 2 deletions kalendar-endlos/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ dependencies {
//time
implementation 'org.jetbrains.kotlinx:kotlinx-datetime:0.4.0'
lintChecks('com.slack.lint.compose:compose-lint-checks:1.2.0')
implementation "androidx.paging:paging-compose:1.0.0-alpha19"
implementation "androidx.paging:paging-compose:1.0.0-alpha20"
implementation 'androidx.compose.animation:animation'

implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
testImplementation 'junit:junit:4.13.2'
Expand Down
2 changes: 1 addition & 1 deletion kalendar-endlos/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ POM_DESCRIPTION=An Elementary Compose Calendar for Scrolling Calendar.
POM_PACKAGING=aar
POM_INCEPTION_YEAR=2022
GROUP=com.himanshoe
VERSION_NAME=1.3.1
VERSION_NAME=1.3.2
VERSION_CODE=1
POM_URL=https://github.com/hi-manshu
POM_LICENCE_NAME=The Apache Software License, Version 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ data class KalendarColors(
*
* @return The default [KalendarColors] instance.
*/
internal fun default(): KalendarColors {
fun default(): KalendarColors {
val colors = List(TOTAL_MONTH) { index ->
KalendarColor(
kalendarBackgroundColor[index],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ data class KalendarDayKonfig(
) {
companion object {
@SuppressWarnings("MagicNumber")
internal fun default() = KalendarDayKonfig(
fun default() = KalendarDayKonfig(
size = 56.dp,
textSize = 16.sp,
textColor = Color(0xFF413D4B),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ data class KalendarTextKonfig(
* @param color The color of the header text.
* @return The default configuration.
*/
internal fun default(color: Color) = KalendarTextKonfig(
fun default(color: Color) = KalendarTextKonfig(
kalendarTextColor = color,
kalendarTextSize = 24.sp
)
Expand Down
7 changes: 4 additions & 3 deletions kalendar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ mavenPublishing {

dependencies {

implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'

//Compose
implementation platform('androidx.compose:compose-bom:2023.05.01')
implementation 'androidx.compose.ui:ui'
implementation 'androidx.compose.ui:ui-graphics'
implementation 'androidx.compose.animation:animation'
implementation 'androidx.compose.ui:ui-tooling-preview'
implementation 'androidx.compose.material3:material3'
debugImplementation "androidx.compose.ui:ui-tooling"
Expand Down
2 changes: 1 addition & 1 deletion kalendar/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ POM_DESCRIPTION=An Elementary Compose Calendar.
POM_PACKAGING=aar
POM_INCEPTION_YEAR=2022
GROUP=com.himanshoe
VERSION_NAME=1.3.1
VERSION_NAME=1.3.2
VERSION_CODE=1
POM_URL=https://github.com/hi-manshu
POM_LICENCE_NAME=The Apache Software License, Version 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ data class KalendarColors(
*
* @return The default [KalendarColors] instance.
*/
internal fun default(): KalendarColors {
fun default(): KalendarColors {
val colors = List(TOTAL_MONTH) { index ->
KalendarColor(
kalendarBackgroundColor[index],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ data class KalendarDayKonfig(
companion object {

@SuppressWarnings("MagicNumber")
internal fun default() = KalendarDayKonfig(
fun default() = KalendarDayKonfig(
size = 56.dp,
textSize = 16.sp,
textColor = Color(0xFF413D4B),
Expand Down

0 comments on commit 2d6a5cf

Please sign in to comment.