Skip to content

Commit

Permalink
Technical: Update metalava to 0.4.0-alpha02 (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech authored Nov 28, 2024
1 parent 8ea6b06 commit d7077d3
Show file tree
Hide file tree
Showing 16 changed files with 49 additions and 64 deletions.
15 changes: 11 additions & 4 deletions emoji-androidx-emoji2/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,26 @@ package com.vanniktech.emoji.androidxemoji2 {

public final class AndroidxEmoji2Provider implements com.vanniktech.emoji.EmojiAndroidProvider com.vanniktech.emoji.EmojiProvider com.vanniktech.emoji.EmojiReplacer {
ctor public AndroidxEmoji2Provider(androidx.emoji2.text.EmojiCompat emojiCompat);
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public android.graphics.drawable.Drawable getDrawable(com.vanniktech.emoji.Emoji emoji, android.content.Context context);
method public int getIcon(com.vanniktech.emoji.EmojiCategory emojiCategory);
method public void release();
method public void replaceWithImages(android.content.Context context, android.text.Spannable text, float emojiSize, com.vanniktech.emoji.EmojiReplacer? fallback);
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class AndroidxEmoji2Provider implements com.vanniktech.emoji.EmojiProvider {
ctor public AndroidxEmoji2Provider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class AndroidxEmoji2Provider implements com.vanniktech.emoji.EmojiProvider {
ctor public AndroidxEmoji2Provider();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

}
Expand Down
4 changes: 0 additions & 4 deletions emoji-androidx-emoji2/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlin.multiplatform")
Expand All @@ -17,7 +15,6 @@ licensee {

metalava {
filename.set("api/current.txt")
sourcePaths.setFrom("src/commonMain", "src/androidMain", "src/jvmMain")
}

kotlin {
Expand Down Expand Up @@ -72,7 +69,6 @@ kotlin {

framework {
isStatic = true
embedBitcode(if ("YES" == System.getenv("ENABLE_BITCODE")) BitcodeEmbeddingMode.BITCODE else BitcodeEmbeddingMode.DISABLE)
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions emoji-facebook/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ package com.vanniktech.emoji.facebook {

public final class FacebookEmojiProvider implements com.vanniktech.emoji.EmojiAndroidProvider com.vanniktech.emoji.EmojiProvider {
ctor public FacebookEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public android.graphics.drawable.Drawable getDrawable(com.vanniktech.emoji.Emoji emoji, android.content.Context context);
method public int getIcon(com.vanniktech.emoji.EmojiCategory emojiCategory);
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class FacebookEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public FacebookEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class FacebookEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public FacebookEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

}
Expand Down
4 changes: 0 additions & 4 deletions emoji-facebook/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlin.multiplatform")
Expand All @@ -17,7 +15,6 @@ licensee {

metalava {
filename.set("api/current.txt")
sourcePaths.setFrom("src/commonMain", "src/androidMain", "src/jvmMain", "src/iosMain")
}

kotlin {
Expand Down Expand Up @@ -66,7 +63,6 @@ kotlin {

framework {
isStatic = true
embedBitcode(if ("YES" == System.getenv("ENABLE_BITCODE")) BitcodeEmbeddingMode.BITCODE else BitcodeEmbeddingMode.DISABLE)
}
}
}
Expand Down
15 changes: 11 additions & 4 deletions emoji-google-compat/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,26 @@ package com.vanniktech.emoji.googlecompat {

public final class GoogleCompatEmojiProvider implements com.vanniktech.emoji.EmojiAndroidProvider com.vanniktech.emoji.EmojiProvider com.vanniktech.emoji.EmojiReplacer {
ctor public GoogleCompatEmojiProvider(androidx.emoji.text.EmojiCompat emojiCompat);
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public android.graphics.drawable.Drawable getDrawable(com.vanniktech.emoji.Emoji emoji, android.content.Context context);
method public int getIcon(com.vanniktech.emoji.EmojiCategory emojiCategory);
method public void release();
method public void replaceWithImages(android.content.Context context, android.text.Spannable text, float emojiSize, com.vanniktech.emoji.EmojiReplacer? fallback);
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class GoogleCompatEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public GoogleCompatEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class GoogleCompatEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public GoogleCompatEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

}
Expand Down
4 changes: 0 additions & 4 deletions emoji-google-compat/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlin.multiplatform")
Expand All @@ -17,7 +15,6 @@ licensee {

metalava {
filename.set("api/current.txt")
sourcePaths.setFrom("src/commonMain", "src/androidMain", "src/jvmMain")
}

kotlin {
Expand Down Expand Up @@ -72,7 +69,6 @@ kotlin {

framework {
isStatic = true
embedBitcode(if ("YES" == System.getenv("ENABLE_BITCODE")) BitcodeEmbeddingMode.BITCODE else BitcodeEmbeddingMode.DISABLE)
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions emoji-google/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ package com.vanniktech.emoji.google {

public final class GoogleEmojiProvider implements com.vanniktech.emoji.EmojiAndroidProvider com.vanniktech.emoji.EmojiProvider {
ctor public GoogleEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public android.graphics.drawable.Drawable getDrawable(com.vanniktech.emoji.Emoji emoji, android.content.Context context);
method public int getIcon(com.vanniktech.emoji.EmojiCategory emojiCategory);
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class GoogleEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public GoogleEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class GoogleEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public GoogleEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

}
Expand Down
4 changes: 0 additions & 4 deletions emoji-google/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlin.multiplatform")
Expand All @@ -17,7 +15,6 @@ licensee {

metalava {
filename.set("api/current.txt")
sourcePaths.setFrom("src/commonMain", "src/androidMain", "src/jvmMain", "src/iosMain")
}

kotlin {
Expand Down Expand Up @@ -66,7 +63,6 @@ kotlin {

framework {
isStatic = true
embedBitcode(if ("YES" == System.getenv("ENABLE_BITCODE")) BitcodeEmbeddingMode.BITCODE else BitcodeEmbeddingMode.DISABLE)
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions emoji-ios/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ package com.vanniktech.emoji.ios {

public final class IosEmojiProvider implements com.vanniktech.emoji.EmojiAndroidProvider com.vanniktech.emoji.EmojiProvider {
ctor public IosEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public android.graphics.drawable.Drawable getDrawable(com.vanniktech.emoji.Emoji emoji, android.content.Context context);
method public int getIcon(com.vanniktech.emoji.EmojiCategory emojiCategory);
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class IosEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public IosEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class IosEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public IosEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

}
Expand Down
4 changes: 0 additions & 4 deletions emoji-ios/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlin.multiplatform")
Expand All @@ -17,7 +15,6 @@ licensee {

metalava {
filename.set("api/current.txt")
sourcePaths.setFrom("src/commonMain", "src/androidMain", "src/jvmMain", "src/iosMain")
}

kotlin {
Expand Down Expand Up @@ -66,7 +63,6 @@ kotlin {

framework {
isStatic = true
embedBitcode(if ("YES" == System.getenv("ENABLE_BITCODE")) BitcodeEmbeddingMode.BITCODE else BitcodeEmbeddingMode.DISABLE)
}
}
}
Expand Down
1 change: 0 additions & 1 deletion emoji-material/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ licensee {

metalava {
filename.set("api/current.txt")
sourcePaths.setFrom("src/androidMain")
}

kotlin {
Expand Down
12 changes: 6 additions & 6 deletions emoji-twitter/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ package com.vanniktech.emoji.twitter {

public final class TwitterEmojiProvider implements com.vanniktech.emoji.EmojiAndroidProvider com.vanniktech.emoji.EmojiProvider {
ctor public TwitterEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public android.graphics.drawable.Drawable getDrawable(com.vanniktech.emoji.Emoji emoji, android.content.Context context);
method public int getIcon(com.vanniktech.emoji.EmojiCategory emojiCategory);
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class TwitterEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public TwitterEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class TwitterEmojiProvider implements com.vanniktech.emoji.EmojiProvider {
ctor public TwitterEmojiProvider();
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public com.vanniktech.emoji.EmojiCategory![] categories;
property public com.vanniktech.emoji.EmojiCategory[] categories;
}

}
Expand Down
4 changes: 0 additions & 4 deletions emoji-twitter/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlin.multiplatform")
Expand All @@ -17,7 +15,6 @@ licensee {

metalava {
filename.set("api/current.txt")
sourcePaths.setFrom("src/commonMain", "src/androidMain", "src/jvmMain", "src/iosMain")
}

kotlin {
Expand Down Expand Up @@ -66,7 +63,6 @@ kotlin {

framework {
isStatic = true
embedBitcode(if ("YES" == System.getenv("ENABLE_BITCODE")) BitcodeEmbeddingMode.BITCODE else BitcodeEmbeddingMode.DISABLE)
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions emoji/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ package com.vanniktech.emoji {
}

public interface EmojiProvider {
method public com.vanniktech.emoji.EmojiCategory![] getCategories();
method public com.vanniktech.emoji.EmojiCategory[] getCategories();
method public void release();
property public abstract com.vanniktech.emoji.EmojiCategory![] categories;
property public abstract com.vanniktech.emoji.EmojiCategory[] categories;
}

public final class EmojiRange {
Expand Down
4 changes: 0 additions & 4 deletions emoji/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlin.multiplatform")
Expand All @@ -17,7 +15,6 @@ licensee {

metalava {
filename.set("api/current.txt")
sourcePaths.setFrom("src/commonMain", "src/androidMain")
}

kotlin {
Expand Down Expand Up @@ -75,7 +72,6 @@ kotlin {

framework {
isStatic = true
embedBitcode(if ("YES" == System.getenv("ENABLE_BITCODE")) BitcodeEmbeddingMode.BITCODE else BitcodeEmbeddingMode.DISABLE)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ plugin-androidgradleplugin = { module = "com.android.tools.build:gradle", versio
plugin-dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version = "1.9.20" }
plugin-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
plugin-licensee = { module = "app.cash.licensee:licensee-gradle-plugin", version = "1.12.0" }
plugin-metalava = { module = "me.tylerbwong.gradle.metalava:plugin", version = "0.3.5" }
plugin-metalava = { module = "me.tylerbwong.gradle.metalava:plugin", version = "0.4.0-alpha02" }
plugin-publish = { module = "com.vanniktech:gradle-maven-publish-plugin", version = "0.30.0" }
robolectric = { module = "org.robolectric:robolectric", version = "4.14.1" }
screengrab = { module = "tools.fastlane:screengrab", version = "2.1.1" }
Expand Down

0 comments on commit d7077d3

Please sign in to comment.