Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metalava. #680

Merged
merged 1 commit into from
May 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions emoji-facebook/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Signature format: 4.0
package com.vanniktech.emoji.facebook {

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

}

6 changes: 6 additions & 0 deletions emoji-facebook/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
12 changes: 12 additions & 0 deletions emoji-google-compat/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Signature format: 4.0
package com.vanniktech.emoji.googlecompat {

public final class GoogleCompatEmojiProvider implements 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 void replaceWithImages(android.content.Context context, android.text.Spannable text, float emojiSize, com.vanniktech.emoji.EmojiReplacer? fallback);
property public com.vanniktech.emoji.EmojiCategory![] categories;
}

}

6 changes: 6 additions & 0 deletions emoji-google-compat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
11 changes: 11 additions & 0 deletions emoji-google/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Signature format: 4.0
package com.vanniktech.emoji.google {

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

}

6 changes: 6 additions & 0 deletions emoji-google/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
11 changes: 11 additions & 0 deletions emoji-ios/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Signature format: 4.0
package com.vanniktech.emoji.ios {

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

}

6 changes: 6 additions & 0 deletions emoji-ios/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
53 changes: 53 additions & 0 deletions emoji-material/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// Signature format: 4.0
package com.vanniktech.emoji.material {

public class EmojiMaterialButton extends com.google.android.material.button.MaterialButton implements com.vanniktech.emoji.EmojiDisplayable {
ctor public EmojiMaterialButton(android.content.Context context, optional android.util.AttributeSet? attrs, optional @AttrRes int defStyleAttr);
ctor public EmojiMaterialButton(android.content.Context context, optional android.util.AttributeSet? attrs);
ctor public EmojiMaterialButton(android.content.Context context);
method public float getEmojiSize();
method public void setEmojiSize(@Px int pixels);
method public void setEmojiSize(@Px int pixels, boolean shouldInvalidate);
method public void setEmojiSizeRes(@DimenRes int res);
method public void setEmojiSizeRes(@DimenRes int res, boolean shouldInvalidate);
}

public class EmojiMaterialCheckBox extends com.google.android.material.checkbox.MaterialCheckBox implements com.vanniktech.emoji.EmojiDisplayable {
ctor public EmojiMaterialCheckBox(android.content.Context context, optional android.util.AttributeSet? attrs, optional @AttrRes int defStyleAttr);
ctor public EmojiMaterialCheckBox(android.content.Context context, optional android.util.AttributeSet? attrs);
ctor public EmojiMaterialCheckBox(android.content.Context context);
method public float getEmojiSize();
method public void setEmojiSize(@Px int pixels);
method public void setEmojiSize(@Px int pixels, boolean shouldInvalidate);
method public void setEmojiSizeRes(@DimenRes int res);
method public void setEmojiSizeRes(@DimenRes int res, boolean shouldInvalidate);
}

public class EmojiMaterialRadioButton extends com.google.android.material.radiobutton.MaterialRadioButton implements com.vanniktech.emoji.EmojiDisplayable {
ctor public EmojiMaterialRadioButton(android.content.Context context, optional android.util.AttributeSet? attrs, optional @AttrRes int defStyleAttr);
ctor public EmojiMaterialRadioButton(android.content.Context context, optional android.util.AttributeSet? attrs);
ctor public EmojiMaterialRadioButton(android.content.Context context);
method public float getEmojiSize();
method public void setEmojiSize(@Px int pixels);
method public void setEmojiSize(@Px int pixels, boolean shouldInvalidate);
method public void setEmojiSizeRes(@DimenRes int res);
method public void setEmojiSizeRes(@DimenRes int res, boolean shouldInvalidate);
}

public class EmojiTextInputEditText extends com.google.android.material.textfield.TextInputEditText implements com.vanniktech.emoji.EmojiDisplayable {
ctor public EmojiTextInputEditText(android.content.Context context, optional android.util.AttributeSet? attrs, optional @AttrRes int defStyleAttr);
ctor public EmojiTextInputEditText(android.content.Context context, optional android.util.AttributeSet? attrs);
ctor public EmojiTextInputEditText(android.content.Context context);
method public float getEmojiSize();
method public void setEmojiSize(@Px int pixels);
method public void setEmojiSize(@Px int pixels, boolean shouldInvalidate);
method public void setEmojiSizeRes(@DimenRes int res);
method public void setEmojiSizeRes(@DimenRes int res, boolean shouldInvalidate);
}

public class MaterialEmojiLayoutFactory extends com.vanniktech.emoji.EmojiLayoutFactory {
ctor public MaterialEmojiLayoutFactory(android.view.LayoutInflater.Factory2? delegate);
}

}

6 changes: 6 additions & 0 deletions emoji-material/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
11 changes: 11 additions & 0 deletions emoji-twitter/api/current.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Signature format: 4.0
package com.vanniktech.emoji.twitter {

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

}

6 changes: 6 additions & 0 deletions emoji-twitter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.parcelize)
alias(libs.plugins.publish)
alias(libs.plugins.metalava)
}

metalava {
filename = "api/current.txt"
sourcePaths = ["src/main"]
}

android {
Expand Down
Loading