mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
* Update ApiDemos/java to latest Maps SDK for Android * Update ApiDemos/kotlin to latest Maps SDK for Android * Update tutorials/CurrentPlaceDetailsOnMap to new Places SDK for Android * Update tutorials/MapWithMarker to latest Maps SDK for Android * Update tutorials/Polygons to latest Maps SDK for Android * Update tutorials/StyledMap to latest Maps SDK for Android * Update README with better instructions for API key
33 lines
971 B
Groovy
33 lines
971 B
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'project-report'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion '28.0.3'
|
|
|
|
defaultConfig {
|
|
applicationId "com.example.mapdemo"
|
|
minSdkVersion 16
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'com.google.android.gms:play-services-maps:17.0.0'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
// Needed for the LiteListDemo
|
|
implementation "androidx.recyclerview:recyclerview:1.1.0"
|
|
}
|