Skip to content

Commit

Permalink
example update
Browse files Browse the repository at this point in the history
  • Loading branch information
bosborn committed Oct 10, 2023
1 parent ce2f5bb commit bae42ac
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/examples/kotlin/GeoPackageToGoAndroid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To add geopackage-android-map, add it to the dependencies section of the build.g
```
dependencies {
...
implementation "mil.nga.geopackage.map:geopackage-android-map:6.7.1"
implementation "mil.nga.geopackage.map:geopackage-android-map:6.7.2"
...
}
```
Expand Down
16 changes: 12 additions & 4 deletions docs/examples/kotlin/GeoPackageToGoAndroid/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,24 @@ def googleMapsApiReleaseKey = hasProperty('RELEASE_MAPS_MAPCACHE_API_KEY') ? REL
def googleMapsApiKeyDebug = hasProperty('DEBUG_MAPS_API_KEY') ? DEBUG_MAPS_API_KEY: ''

android {
compileSdkVersion 33
namespace 'mil.nga.geopackagetogoandroid'

compileSdk 34

defaultConfig {
applicationId "mil.nga.geopackagetogoandroid"
minSdkVersion 23
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0"
multiDexEnabled true
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

buildTypes {
release {
minifyEnabled false
Expand All @@ -31,8 +39,8 @@ android {

dependencies {
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
api 'androidx.appcompat:appcompat:1.6.0'
api 'mil.nga.geopackage.map:geopackage-android-map:6.7.1'
api 'androidx.appcompat:appcompat:1.6.1'
api 'mil.nga.geopackage.map:geopackage-android-map:6.7.2'
api 'androidx.multidex:multidex:2.0.1'
testImplementation 'androidx.multidex:multidex:2.0.1'
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mil.nga.geopackagetogoandroid">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/kotlin/GeoPackageToGoAndroid/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.7.21'
ext.kotlin_version = '1.9.10'
repositories {
google()
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.0'
classpath 'com.android.tools.build:gradle:8.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Sep 23 09:07:11 MDT 2022
#Tue Oct 10 12:58:31 MDT 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit bae42ac

Please sign in to comment.