Skip to content

Commit

Permalink
Fix for build issues in Jetpack compose Sample.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 688639837
  • Loading branch information
nventimigli authored and copybara-github committed Oct 23, 2024
1 parent b74241c commit b9560fc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion kotlin/advanced/JetpackComposeDemo/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {
implementation("androidx.compose.foundation:foundation")
implementation("androidx.navigation:navigation-compose:2.7.7")
implementation("androidx.navigation:navigation-runtime-ktx:2.7.7")
implementation("com.google.android.gms:play-services-ads:23.4.0")
implementation("com.google.android.gms:play-services-ads:23.3.0")
implementation("com.google.android.ump:user-messaging-platform:3.0.0")
implementation(project(":compose-util"))
debugImplementation("androidx.compose.ui:ui-tooling")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fun NativeScreen() {
}

// Native ad composable.
SampleNativeTemplate(nativeAdState)
SampleNativeTemplate(nativeAdState())
}

@Composable
Expand Down
15 changes: 2 additions & 13 deletions kotlin/advanced/JetpackComposeDemo/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.6.0" apply false
id("com.android.application") version "8.3.0" apply false
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
id("com.android.library") version "8.6.0" apply false
id("com.android.library") version "8.3.0" apply false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
kotlinOptions.jvmTarget = "1.8"
}

tasks.register("clean", Delete::class) { delete(rootProject.buildDir) }
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {
implementation("androidx.compose.ui:ui-graphics:1.7.3")
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.foundation:foundation")
implementation("com.google.android.gms:play-services-ads:23.4.0")
implementation("com.google.android.gms:play-services-ads:23.3.0")
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.4")
debugImplementation("androidx.compose.ui:ui-tooling")
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Apr 03 14:18:00 PDT 2024
#Wed Oct 23 13:18:45 PDT 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-8.8-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit b9560fc

Please sign in to comment.