Skip to content

Commit

Permalink
chore(android): android maven publication dependency fix (#1585)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlpoole authored May 9, 2023
1 parent 16edc3d commit c64920a
Show file tree
Hide file tree
Showing 25 changed files with 73 additions and 3 deletions.
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

0 comments on commit c64920a

Please sign in to comment.