Skip to content

Commit

Permalink
Bump to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Airsaid committed Nov 24, 2021
1 parent 5df43c8 commit a99827b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion multistatelayout/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

val publishId = "multistatelayout"
val publishVersion = "1.0.0"
val publishVersion = "1.0.1"
val isReleaseBuild = !publishVersion.endsWith("-SNAPSHOT")

android {
Expand Down Expand Up @@ -38,6 +38,13 @@ dependencies {
implementation(Libs.AndroidX.ANNOTATION)
}

val sourcesJar by tasks.creating(Jar::class) {
group = JavaBasePlugin.DOCUMENTATION_GROUP
description = "Assembles sources JAR"
archiveClassifier.set("sources")
from(android.sourceSets.getByName("main").java.srcDirs)
}

afterEvaluate {
publishing {
publications {
Expand All @@ -48,6 +55,8 @@ afterEvaluate {

from(components.getByName("release"))

artifact(sourcesJar)

pom {
name.set(publishId)
description.set("A customize multiple state layout for Android.")
Expand Down
Binary file modified sample.apk
Binary file not shown.

0 comments on commit a99827b

Please sign in to comment.