Skip to content

Commit

Permalink
Android embedding fixes - migrate to maven (#852)
Browse files Browse the repository at this point in the history
* Migrate maven repository from jcenter to mavenCentral

* Migrate maven repository from jcenter to mavenCentral

* migrate to maven
fix android embedding issue

Co-authored-by: luis felipe de oliveira <loliveira@inspectos.com>
  • Loading branch information
felix-ht and luis felipe de oliveira authored Jan 13, 2022
1 parent 0d6a016 commit bd2ade0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
3 changes: 1 addition & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version '1.0-SNAPSHOT'
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
Expand All @@ -19,7 +19,6 @@ rootProject.allprojects {
}
repositories {
google()
jcenter()
mavenCentral()
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
android:name="io.flutter.app.FlutterApplication"
android:name="${applicationName}"
android:label="mapbox_gl_example"
android:icon="@mipmap/ic_launcher">

Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
Expand All @@ -12,7 +12,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down

0 comments on commit bd2ade0

Please sign in to comment.