File tree Expand file tree Collapse file tree 7 files changed +22
-9
lines changed Expand file tree Collapse file tree 7 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
+ namespace " com.example.plugin"
4
5
compileSdkVersion rootProject. ext. compileSdkVersion
5
6
defaultConfig {
6
7
applicationId " com.example.plugin"
Original file line number Diff line number Diff line change 2
2
3
3
android {
4
4
compileOptions {
5
- sourceCompatibility JavaVersion . VERSION_11
6
- targetCompatibility JavaVersion . VERSION_11
5
+ sourceCompatibility JavaVersion . VERSION_17
6
+ targetCompatibility JavaVersion . VERSION_17
7
7
}
8
8
}
9
9
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ buildscript {
8
8
maven { url " https://jitpack.io" }
9
9
}
10
10
dependencies {
11
- classpath ' com.android.tools.build:gradle:7.2 .1'
12
- classpath ' com.google.gms:google-services:4.3.13 '
11
+ classpath ' com.android.tools.build:gradle:8.1 .1'
12
+ classpath ' com.google.gms:google-services:4.3.15 '
13
13
14
14
// NOTE: Do not place your application dependencies here; they belong
15
15
// in the individual module build.gradle files
Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ org.gradle.jvmargs=-Xmx1536m
21
21
# https://developer.android.com/topic/libraries/support-library/androidx-rn
22
22
android.useAndroidX =true
23
23
# Automatically convert third-party libraries to use AndroidX
24
- android.enableJetifier =true
24
+ # android.enableJetifier=true
Original file line number Diff line number Diff line change
1
+ # Thu Aug 31 10:07:56 PDT 2023
1
2
distributionBase =GRADLE_USER_HOME
2
3
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.4.2-all .zip
4
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.0-bin .zip
4
5
zipStoreBase =GRADLE_USER_HOME
5
6
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1
- require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
1
+ def assertDeploymentTarget ( installer )
2
+ installer . pods_project . targets . each do |target |
3
+ target . build_configurations . each do |config |
4
+ # ensure IPHONEOS_DEPLOYMENT_TARGET is at least 13.0
5
+ deployment_target = config . build_settings [ 'IPHONEOS_DEPLOYMENT_TARGET' ] . to_f
6
+ should_upgrade = deployment_target < 13.0 && deployment_target != 0.0
7
+ if should_upgrade
8
+ config . build_settings [ 'IPHONEOS_DEPLOYMENT_TARGET' ] = '13.0'
9
+ end
10
+ end
11
+ end
12
+ end
2
13
3
14
platform :ios , '15.0'
4
15
use_frameworks!
Original file line number Diff line number Diff line change 17
17
"@capacitor/camera" : " latest" ,
18
18
"@capacitor/splash-screen" : " latest" ,
19
19
"capacitor-plugin-resgrid" : " file:.." ,
20
- "@capacitor/ios" : " ^4 .0.0" ,
21
- "@capacitor/android" : " ^4 .0.0"
20
+ "@capacitor/ios" : " ^5 .0.0" ,
21
+ "@capacitor/android" : " ^5 .0.0"
22
22
},
23
23
"devDependencies" : {
24
24
"@capacitor/cli" : " latest" ,
You can’t perform that action at this time.
0 commit comments