-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Remove maps v3beta #1117
Open
regeter
wants to merge
2
commits into
googlemaps-samples:main
Choose a base branch
from
regeter:remove-maps-v3beta
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Remove maps v3beta #1117
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.gradle | ||
/local.properties | ||
/local.defaults.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
import org.apache.tools.ant.filters.ConcatFilter | ||
|
||
plugins { | ||
id 'com.android.application' | ||
id 'project-report' | ||
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' | ||
} | ||
|
||
android { | ||
compileSdkVersion 31 | ||
compileSdkVersion 32 | ||
|
||
defaultConfig { | ||
applicationId "com.example.mapdemo" | ||
minSdkVersion 19 | ||
targetSdkVersion 31 | ||
targetSdkVersion 32 | ||
versionCode 1 | ||
versionName "1.0" | ||
multiDexEnabled true | ||
|
@@ -23,19 +21,6 @@ android { | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
flavorDimensions "version" | ||
productFlavors { | ||
gms { | ||
dimension "version" | ||
applicationIdSuffix ".gms" | ||
versionNameSuffix "-gms" | ||
} | ||
v3 { | ||
dimension "version" | ||
applicationIdSuffix ".v3" | ||
versionNameSuffix "-v3" | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_11 | ||
targetCompatibility JavaVersion.VERSION_11 | ||
|
@@ -47,42 +32,7 @@ dependencies { | |
implementation 'androidx.appcompat:appcompat:1.5.1' | ||
implementation "androidx.recyclerview:recyclerview:1.2.1" | ||
implementation 'com.android.volley:volley:1.2.1' | ||
|
||
// GMS | ||
gmsImplementation 'com.google.android.gms:play-services-maps:18.1.0' | ||
|
||
// V3 | ||
v3Implementation 'com.google.android.libraries.maps:maps:3.1.0-beta' | ||
|
||
// Tests | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should keep the tests lines |
||
testImplementation 'junit:junit:4.13.2' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.4' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' | ||
} | ||
|
||
// Deprecated | ||
task generateV3(type: Copy) { | ||
group "V3 Beta" | ||
description "Copies source code from GMS to V3 BETA." | ||
|
||
from 'src/gms/java' | ||
into 'src/v3/java' | ||
filter { line -> | ||
line.replace('com.google.android.gms.maps', 'com.google.android.libraries.maps') | ||
} | ||
filter(ConcatFilter, prepend: file('../../V3_FILE_HEADER')) | ||
} | ||
|
||
// Deprecated | ||
task generateV3Layout(type: Copy) { | ||
group "V3 Beta" | ||
description "Copies layout files from GMS to V3 BETA." | ||
|
||
from 'src/gms/res/layout' | ||
into 'src/v3/res/layout' | ||
filter { line -> | ||
line.replace('com.google.android.gms.maps', 'com.google.android.libraries.maps') | ||
} | ||
implementation 'com.google.android.gms:play-services-maps:18.1.0' | ||
} | ||
|
||
secrets { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
...s/java/app/src/gms/java/com/example/mapdemo/BackgroundColorCustomizationDemoActivity.java
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
...rc/gms/java/com/example/mapdemo/BackgroundColorCustomizationProgrammaticDemoActivity.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be gitignored