Skip to content

Commit c462fb6

Browse files
committed
Config for jetpack
1 parent 467448f commit c462fb6

File tree

5 files changed

+12
-18
lines changed

5 files changed

+12
-18
lines changed

convention-plugins/src/main/kotlin/module.publication.gradle.kts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ publishing {
4848
}
4949

5050
signing {
51-
useInMemoryPgpKeys(
52-
System.getenv("OSSRH_GPG_SECRET_KEY_ID"),
53-
System.getenv("OSSRH_GPG_SECRET_KEY"),
54-
System.getenv("OSSRH_GPG_SECRET_KEY_PASSWORD"),
55-
)
56-
sign(publishing.publications)
51+
if(System.getenv("OSSRH_GPG_SECRET_KEY") != null) {
52+
useInMemoryPgpKeys(
53+
System.getenv("OSSRH_GPG_SECRET_KEY_ID"),
54+
System.getenv("OSSRH_GPG_SECRET_KEY"),
55+
System.getenv("OSSRH_GPG_SECRET_KEY_PASSWORD"),
56+
)
57+
sign(publishing.publications)
58+
}
5759
}
5860

5961
// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed

jitpack.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
jdk:
2+
- openjdk17
3+
install:
4+
- ./gradlew assemble publishToMavenLocal -x test

richeditor-compose-spellcheck/api/android/richeditor-compose-spellcheck.api

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,3 @@ public final class com/mohamedrejeb/richeditor/compose/spellcheck/ui/SpellChecke
7575
public static final fun SpellCheckedRichTextEditor (Landroidx/compose/ui/Modifier;ZLandroidx/compose/ui/text/TextStyle;Landroidx/compose/foundation/text/KeyboardOptions;Landroidx/compose/foundation/text/KeyboardActions;ZIIILkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function1;Landroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/ui/graphics/Brush;Lcom/mohamedrejeb/richeditor/compose/spellcheck/SpellCheckState;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;III)V
7676
}
7777

78-
public final class com/mohamedrejeb/richeditor/compose/spellcheck/utils/SpellCheckUtilsKt {
79-
public static final fun isSpelledCorrectly (Ljava/lang/String;Ljava/util/List;)Z
80-
public static final fun spellingIsCorrect (Ljava/util/List;Ljava/lang/String;)Z
81-
}
82-

richeditor-compose-spellcheck/api/desktop/richeditor-compose-spellcheck.api

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,3 @@ public final class com/mohamedrejeb/richeditor/compose/spellcheck/ui/SpellChecke
7575
public static final fun SpellCheckedRichTextEditor (Landroidx/compose/ui/Modifier;ZLandroidx/compose/ui/text/TextStyle;Landroidx/compose/foundation/text/KeyboardOptions;Landroidx/compose/foundation/text/KeyboardActions;ZIIILkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function1;Landroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/ui/graphics/Brush;Lcom/mohamedrejeb/richeditor/compose/spellcheck/SpellCheckState;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;III)V
7676
}
7777

78-
public final class com/mohamedrejeb/richeditor/compose/spellcheck/utils/SpellCheckUtilsKt {
79-
public static final fun isSpelledCorrectly (Ljava/lang/String;Ljava/util/List;)Z
80-
public static final fun spellingIsCorrect (Ljava/util/List;Ljava/lang/String;)Z
81-
}
82-

richeditor-compose-spellcheck/api/richeditor-compose-spellcheck.klib.api

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ final val com.mohamedrejeb.richeditor.compose.spellcheck/com_mohamedrejeb_riched
7070
final val com.mohamedrejeb.richeditor.compose.spellcheck/com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheckMenuState_MissSpelling$stableprop // com.mohamedrejeb.richeditor.compose.spellcheck/com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheckMenuState_MissSpelling$stableprop|#static{}com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheckMenuState_MissSpelling$stableprop[0]
7171
final val com.mohamedrejeb.richeditor.compose.spellcheck/com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheckState$stableprop // com.mohamedrejeb.richeditor.compose.spellcheck/com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheckState$stableprop|#static{}com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheckState$stableprop[0]
7272

73-
final fun (kotlin.collections/List<com.darkrockstudios.symspellkt.common/SuggestionItem>).com.mohamedrejeb.richeditor.compose.spellcheck.utils/spellingIsCorrect(kotlin/String): kotlin/Boolean // com.mohamedrejeb.richeditor.compose.spellcheck.utils/spellingIsCorrect|[email protected]<com.darkrockstudios.symspellkt.common.SuggestionItem>(kotlin.String){}[0]
74-
final fun (kotlin/String).com.mohamedrejeb.richeditor.compose.spellcheck.utils/isSpelledCorrectly(kotlin.collections/List<com.darkrockstudios.symspellkt.common/SuggestionItem>): kotlin/Boolean // com.mohamedrejeb.richeditor.compose.spellcheck.utils/isSpelledCorrectly|[email protected](kotlin.collections.List<com.darkrockstudios.symspellkt.common.SuggestionItem>){}[0]
7573
final fun com.mohamedrejeb.richeditor.compose.spellcheck.ui/SpellCheckedRichTextEditor(androidx.compose.ui/Modifier?, kotlin/Boolean, androidx.compose.ui.text/TextStyle?, androidx.compose.foundation.text/KeyboardOptions?, androidx.compose.foundation.text/KeyboardActions?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Function4<com.mohamedrejeb.richeditor.model/RichSpanStyle, androidx.compose.ui.text/TextRange, androidx.compose.ui.geometry/Offset, com.mohamedrejeb.richeditor.ui/InteractionType, kotlin/Boolean>?, kotlin/Function1<androidx.compose.ui.text/TextLayoutResult, kotlin/Unit>?, androidx.compose.foundation.interaction/MutableInteractionSource?, androidx.compose.ui.graphics/Brush?, com.mohamedrejeb.richeditor.compose.spellcheck/SpellCheckState?, kotlin/Function3<kotlin/Function2<androidx.compose.runtime/Composer, kotlin/Int, kotlin/Unit>, androidx.compose.runtime/Composer, kotlin/Int, kotlin/Unit>?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.compose.spellcheck.ui/SpellCheckedRichTextEditor|SpellCheckedRichTextEditor(androidx.compose.ui.Modifier?;kotlin.Boolean;androidx.compose.ui.text.TextStyle?;androidx.compose.foundation.text.KeyboardOptions?;androidx.compose.foundation.text.KeyboardActions?;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Function4<com.mohamedrejeb.richeditor.model.RichSpanStyle,androidx.compose.ui.text.TextRange,androidx.compose.ui.geometry.Offset,com.mohamedrejeb.richeditor.ui.InteractionType,kotlin.Boolean>?;kotlin.Function1<androidx.compose.ui.text.TextLayoutResult,kotlin.Unit>?;androidx.compose.foundation.interaction.MutableInteractionSource?;androidx.compose.ui.graphics.Brush?;com.mohamedrejeb.richeditor.compose.spellcheck.SpellCheckState?;kotlin.Function3<kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>,androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
7674
final fun com.mohamedrejeb.richeditor.compose.spellcheck/SpellCheckTextContextMenuProvider(androidx.compose.ui/Modifier, com.mohamedrejeb.richeditor.compose.spellcheck/SpellCheckMenuState, kotlin/Function2<androidx.compose.runtime/Composer, kotlin/Int, kotlin/Unit>, androidx.compose.runtime/Composer?, kotlin/Int) // com.mohamedrejeb.richeditor.compose.spellcheck/SpellCheckTextContextMenuProvider|SpellCheckTextContextMenuProvider(androidx.compose.ui.Modifier;com.mohamedrejeb.richeditor.compose.spellcheck.SpellCheckMenuState;kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){}[0]
7775
final fun com.mohamedrejeb.richeditor.compose.spellcheck/com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheck$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.compose.spellcheck/com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheck$stableprop_getter|com_mohamedrejeb_richeditor_compose_spellcheck_SpellCheck$stableprop_getter(){}[0]

0 commit comments

Comments
 (0)