diff --git a/gradle.properties b/gradle.properties index ffcb585..c41d30c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,4 +22,4 @@ kotlin.code.style=official # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true -systemProp.progress-version=1.0.0-alpha08 \ No newline at end of file +systemProp.progress-version=1.0.0-alpha10 \ No newline at end of file diff --git a/progress-modifier/build.gradle b/progress-modifier/build.gradle index 7e11677..694e55b 100644 --- a/progress-modifier/build.gradle +++ b/progress-modifier/build.gradle @@ -4,8 +4,10 @@ plugins { id 'maven-publish' } +def progressVersion = new File(System.getProperty('progress-version')) + group = 'com.github.nasrabadiam' -version = "1.0.0-alpha09" +version = progressVersion android { namespace 'com.nasrabadiam.progress_modifier' @@ -15,7 +17,7 @@ android { minSdk 21 targetSdk 33 versionCode 1 - versionName "1.0.0-alpha09" + versionName "1.0.0-alpha10" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -47,4 +49,17 @@ dependencies { def composeVersion = "1.3.3" implementation "androidx.compose.ui:ui:$composeVersion" implementation "androidx.compose.animation:animation-core:$composeVersion" +} + +afterEvaluate { + publishing { + publications { + release(MavenPublication) { + from components.release + groupId = 'com.github.nasrabadiam' + artifactId = 'progress_modifier' + version = progressVersion + } + } + } } \ No newline at end of file