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

Update devsite releaserc #1212

Closed
wants to merge 6 commits into from
Closed
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
7 changes: 6 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
branches:
- main
- devsite
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
Expand All @@ -9,9 +10,13 @@ plugins:
- "build.gradle"
from: "\\bversion = '.*'"
to: "version = '${nextRelease.version}'"
- files:
- "build.gradle"
from: "com.google.maps.android:android-maps-utils:([0-9]+).([0-9]+).([0-9]+)"
to: "com.google.maps.android:android-maps-utils:${nextRelease.version}'"
- files:
- "README.md"
from: ":[0-9].[0-9].[0-9]"
from: ":([0-9]+).([0-9]+).([0-9]+)"
to: ":${nextRelease.version}"
- - "@semantic-release/exec"
- prepareCmd: "./gradlew build --warn --stacktrace"
Expand Down
18 changes: 5 additions & 13 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ plugins {
}

android {
compileSdkVersion 30
compileSdkVersion 31

defaultConfig {
applicationId "com.google.maps.android.utils.demo"
minSdkVersion 16
targetSdkVersion 30
minSdkVersion 19
targetSdkVersion 31
versionCode 1
versionName "1.0"
}
Expand Down Expand Up @@ -61,20 +61,12 @@ android {

// [START maps_android_utils_install_snippet]
dependencies {
implementation 'com.google.maps.android:android-maps-utils:3.4.0'

// [START_EXCLUDE silent]
implementation 'com.google.android.gms:play-services-maps:18.0.2'
implementation 'androidx.appcompat:appcompat:1.4.0-alpha03'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'

// GMS
gmsImplementation 'com.google.android.gms:play-services-maps:17.0.1'
gmsImplementation project(':library')

// V3
v3Implementation 'com.google.android.libraries.maps:maps:3.1.0-beta'
v3Implementation 'com.android.volley:volley:1.2.1' // TODO - Remove this after Maps SDK v3 beta includes Volley versions on Maven Central
v3Implementation project(':library-v3')
v3Implementation 'androidx.multidex:multidex:2.0.1'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
// [END_EXCLUDE]
Expand Down
1 change: 1 addition & 0 deletions demo/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
Loading