diff --git a/README.md b/README.md index 3a18e9b..0e27484 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ allprojects { } } dependencies { - implementation 'com.github.joypixels:emoji-toolkit-android:v8.0.11' + implementation 'com.github.joypixels:emoji-toolkit-android:v8.0.12' } ``` and in your manifest add: diff --git a/tools/build.gradle.kts b/tools/build.gradle.kts index ab63b86..801fe46 100644 --- a/tools/build.gradle.kts +++ b/tools/build.gradle.kts @@ -29,6 +29,24 @@ android { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } + publishing { + singleVariant("release") { + withSourcesJar() + } + } +} +publishing { + publications { + register("release") { + groupId = "com.joypixels" + artifactId = "emoji-toolkit-android" + version = "8.0.12" + + afterEvaluate { + from(components["release"]) + } + } + } } dependencies {