diff --git a/buildSrc/src/main/kotlin/Config.kt b/buildSrc/src/main/kotlin/Config.kt index 37a4e5d..2f6ecbf 100644 --- a/buildSrc/src/main/kotlin/Config.kt +++ b/buildSrc/src/main/kotlin/Config.kt @@ -5,7 +5,7 @@ object Config { const val major = 0 const val minor = 2 - const val patch = 0 + const val patch = 1 const val versionName = "$major.$minor.$patch" const val maven_group = "ch.srg.data.provider" diff --git a/data/build.gradle.kts b/data/build.gradle.kts index c936b2a..ecb0e66 100644 --- a/data/build.gradle.kts +++ b/data/build.gradle.kts @@ -35,6 +35,12 @@ android { // https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/dsl/LintOptions abortOnError = false } + publishing { + singleVariant("release") { + withSourcesJar() + withJavadocJar() + } + } } dependencies { diff --git a/dataprovider-paging/build.gradle.kts b/dataprovider-paging/build.gradle.kts index b68bf73..8113ff4 100644 --- a/dataprovider-paging/build.gradle.kts +++ b/dataprovider-paging/build.gradle.kts @@ -35,6 +35,12 @@ android { // https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/dsl/LintOptions abortOnError = false } + publishing { + singleVariant("release") { + withSourcesJar() + withJavadocJar() + } + } } dependencies { diff --git a/dataprovider-retrofit/build.gradle.kts b/dataprovider-retrofit/build.gradle.kts index cfaba54..bf891b6 100644 --- a/dataprovider-retrofit/build.gradle.kts +++ b/dataprovider-retrofit/build.gradle.kts @@ -35,6 +35,12 @@ android { // https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/dsl/LintOptions abortOnError = false } + publishing { + singleVariant("release") { + withSourcesJar() + withJavadocJar() + } + } } dependencies {