File tree Expand file tree Collapse file tree 4 files changed +36
-3
lines changed
stream-android-core-annotations Expand file tree Collapse file tree 4 files changed +36
-3
lines changed Original file line number Diff line number Diff line change @@ -70,4 +70,6 @@ subprojects {
7070 }
7171 }
7272 }
73- }
73+ }
74+
75+ apply (from = " ${rootDir} /scripts/publish-root.gradle" )
Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ plugins {
22 id(" java-library" )
33 alias(libs.plugins.jetbrains.kotlin.jvm)
44}
5+
6+ rootProject.extra.apply {
7+ set(" PUBLISH_GROUP_ID" , io.getstream.core.Configuration .artifactGroup)
8+ set(" PUBLISH_ARTIFACT_ID" , " stream-android-core-annotations" )
9+ set(" PUBLISH_VERSION" , rootProject.extra.get(" rootVersionName" ))
10+ }
11+
12+ apply (from = " ${rootDir} /scripts/publish-module.gradle" )
13+
514java {
615 sourceCompatibility = JavaVersion .VERSION_11
716 targetCompatibility = JavaVersion .VERSION_11
Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ plugins {
22 id(" java-library" )
33 alias(libs.plugins.jetbrains.kotlin.jvm)
44}
5+
6+ rootProject.extra.apply {
7+ set(" PUBLISH_GROUP_ID" , io.getstream.core.Configuration .artifactGroup)
8+ set(" PUBLISH_ARTIFACT_ID" , " stream-android-core-lint" )
9+ set(" PUBLISH_VERSION" , rootProject.extra.get(" rootVersionName" ))
10+ }
11+
12+ apply (from = " ${rootDir} /scripts/publish-module.gradle" )
13+
514java {
615 sourceCompatibility = JavaVersion .VERSION_11
716 targetCompatibility = JavaVersion .VERSION_11
Original file line number Diff line number Diff line change 11import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+ import io.getstream.core.Configuration
23
34plugins {
45 alias(libs.plugins.android.library)
@@ -7,6 +8,14 @@ plugins {
78 alias(libs.plugins.arturbosch.detekt)
89}
910
11+ rootProject.extra.apply {
12+ set(" PUBLISH_GROUP_ID" , Configuration .artifactGroup)
13+ set(" PUBLISH_ARTIFACT_ID" , " stream-android-core" )
14+ set(" PUBLISH_VERSION" , rootProject.extra.get(" rootVersionName" ))
15+ }
16+
17+ apply (from = " ${rootDir} /scripts/publish-module.gradle" )
18+
1019kotlin {
1120 compilerOptions {
1221 jvmTarget.set(JvmTarget .JVM_11 )
@@ -18,10 +27,10 @@ kotlin {
1827
1928android {
2029 namespace = " io.getstream.android.core"
21- compileSdk = 36
30+ compileSdk = Configuration .compileSdk
2231
2332 defaultConfig {
24- minSdk = 21
33+ minSdk = Configuration .minSdk
2534
2635 testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
2736 consumerProguardFiles(" consumer-rules.pro" )
@@ -46,6 +55,10 @@ android {
4655 warningsAsErrors = true
4756 lintConfig = rootProject.file(" lint.xml" )
4857 }
58+
59+ publishing {
60+ singleVariant(" release" ) { }
61+ }
4962}
5063
5164dependencies {
You can’t perform that action at this time.
0 commit comments