Skip to content

Commit

Permalink
chore: Update Compose libraries and Compiler.
Browse files Browse the repository at this point in the history
Change-Id: I449263cbbea517218521ca002d2bb1ec23bd08c7
  • Loading branch information
arriolac committed Jul 11, 2022
1 parent 5dac3d9 commit df8167e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Expand Up @@ -5,12 +5,12 @@ plugins {
}

android {
compileSdk 31
compileSdk 32

defaultConfig {
applicationId "com.google.maps.android.compose"
minSdk 21
targetSdk 31
targetSdk 32
versionCode 1
versionName "1.0"

Expand All @@ -23,7 +23,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion "$compose_version"
kotlinCompilerExtensionVersion "$compose_compiler_version"
}

buildFeatures {
Expand Down
5 changes: 3 additions & 2 deletions build.gradle
@@ -1,7 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.6.21'
ext.compose_version = '1.2.0-beta02'
ext.kotlin_version = '1.7.0'
ext.compose_compiler_version = '1.2.0'
ext.compose_version = '1.2.0-rc03'
ext.androidx_test_version = '1.4.0'
repositories {
google()
Expand Down
8 changes: 4 additions & 4 deletions maps-compose-widgets/build.gradle
Expand Up @@ -4,11 +4,11 @@ plugins {
}

android {
compileSdk 31
compileSdk 32

defaultConfig {
minSdk 21
targetSdk 31
targetSdk 32
versionCode 1
versionName "1.0"
}
Expand All @@ -19,7 +19,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion "$compose_version"
kotlinCompilerExtensionVersion "$compose_compiler_version"
}

buildFeatures {
Expand Down Expand Up @@ -48,4 +48,4 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation "androidx.core:core-ktx:1.7.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
}
8 changes: 4 additions & 4 deletions maps-compose/build.gradle
Expand Up @@ -4,11 +4,11 @@ plugins {
}

android {
compileSdk 31
compileSdk 32

defaultConfig {
minSdk 21
targetSdk 31
targetSdk 32
versionCode 1
versionName "1.0"
}
Expand All @@ -19,7 +19,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion "$compose_version"
kotlinCompilerExtensionVersion "$compose_compiler_version"
}

buildFeatures {
Expand All @@ -45,4 +45,4 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation "androidx.core:core-ktx:1.7.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
}
Expand Up @@ -76,8 +76,8 @@ public fun Polygon(
clickable(clickable)
fillColor(fillColor.toArgb())
geodesic(geodesic)
holes.forEach {
addHole(it)
holes.forEach { hole ->
addHole(hole)
}
strokeColor(strokeColor.toArgb())
strokeJointType(strokeJointType)
Expand Down Expand Up @@ -106,4 +106,4 @@ public fun Polygon(
set(zIndex) { this.polygon.zIndex = it }
}
)
}
}

0 comments on commit df8167e

Please sign in to comment.