Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(android): android maven publication dependency fix #1585

Merged
merged 5 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions action-sheet/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions app-launcher/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions app/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions browser/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions camera/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions clipboard/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions device/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions dialog/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions filesystem/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions geolocation/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
4 changes: 3 additions & 1 deletion google-maps/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

publishing {
singleVariant("release")
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinxCoroutinesVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinxCoroutinesVersion")
Expand Down
3 changes: 3 additions & 0 deletions haptics/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions keyboard/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions local-notifications/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions network/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions preferences/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions push-notifications/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions screen-orientation/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions screen-reader/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 1 addition & 2 deletions scripts/android/publish-module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ def LIB_VERSION = System.getenv('PLUGIN_VERSION')
def PLUGIN_NAME = System.getenv('PLUGIN_NAME')

task androidSourcesJar(type: Jar) {
dependsOn(':bundleReleaseAar')
archiveClassifier.set('sources')
if (project.plugins.findPlugin("com.android.library")) {
from android.sourceSets.main.java.srcDirs
Expand Down Expand Up @@ -34,7 +33,7 @@ afterEvaluate {

// Two artifacts, the `aar` (or `jar`) and the sources
if (project.plugins.findPlugin("com.android.library")) {
artifact("$buildDir/outputs/aar/${project.getName()}-release.aar")
from components.release
} else {
artifact("$buildDir/libs/${project.getName()}-${version}.jar")
}
Expand Down
3 changes: 3 additions & 0 deletions share/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions splash-screen/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions status-bar/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions text-zoom/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions toast/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
publishing {
singleVariant("release")
}
}

repositories {
Expand Down
Loading