Skip to content

Commit

Permalink
Updated gradle and podspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
aloisdeniel committed Jul 15, 2021
1 parent b251634 commit 2ee33a9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 19 deletions.
17 changes: 4 additions & 13 deletions android/build.gradle
@@ -1,12 +1,10 @@
group 'com.aloisdeniel.geocoder'
version '1.0-SNAPSHOT'
version '1.0'

buildscript {
repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
}

dependencies {
Expand All @@ -16,24 +14,17 @@ buildscript {

rootProject.allprojects {
repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
}
}

apply plugin: 'com.android.library'

android {
compileSdkVersion 28
//buildToolsVersion '28.0.3'
compileSdkVersion 30

defaultConfig {
minSdkVersion 16
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {
disable 'InvalidPackage'
}
}
2 changes: 2 additions & 0 deletions android/gradle.properties
@@ -1 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
Binary file removed android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,5 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
10 changes: 6 additions & 4 deletions ios/geocoder.podspec
@@ -1,5 +1,6 @@
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint geocoder.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'geocoder'
Expand All @@ -15,7 +16,8 @@ A new flutter plugin project.
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'

s.ios.deployment_target = '8.0'
end
s.platform = :ios, '8.0'

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
end

0 comments on commit 2ee33a9

Please sign in to comment.