Skip to content

Commit 606b57e

Browse files
committed
added pr #10
1 parent 5042520 commit 606b57e

File tree

19 files changed

+307
-136
lines changed

19 files changed

+307
-136
lines changed

android/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ group 'de.appgewaltig.disk_space'
22
version '1.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.3.72'
5+
ext.kotlin_version = '1.7.20'
66
repositories {
77
google()
88
jcenter()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:4.1.3'
12+
classpath 'com.android.tools.build:gradle:7.3.1'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
}
1515
}
@@ -25,6 +25,8 @@ apply plugin: 'com.android.library'
2525
apply plugin: 'kotlin-android'
2626

2727
android {
28+
namespace 'de.appgewaltig.disk_space'
29+
2830
compileSdkVersion 30
2931

3032
sourceSets {

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"disk_space","path":"/Users/marvinknabe/Entwicklung/flutter/disk_space/","dependencies":[]}],"android":[{"name":"disk_space","path":"/Users/marvinknabe/Entwicklung/flutter/disk_space/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"disk_space","dependencies":[]}],"date_created":"2021-05-27 18:22:29.500956","version":"2.2.0"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"disk_space","path":"/Users/b044560/Developments/disk_space/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/b044560/.pub-cache/hosted/pub.dev/path_provider_foundation-2.2.3/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"disk_space","path":"/Users/b044560/Developments/disk_space/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/Users/b044560/.pub-cache/hosted/pub.dev/path_provider_android-2.0.27/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/b044560/.pub-cache/hosted/pub.dev/path_provider_foundation-2.2.3/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/b044560/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.11/","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/b044560/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.6/","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"disk_space","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2023-05-23 15:28:02.054128","version":"3.10.1"}

example/android/app/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
29-
compileSdkVersion 30
29+
namespace 'de.appgewaltig.disk_space_example'
30+
31+
compileSdkVersion 33
3032

3133
sourceSets {
3234
main.java.srcDirs += 'src/main/kotlin'

example/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.72'
2+
ext.kotlin_version = '1.7.20'
33
repositories {
44
google()
55
jcenter()
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.1.3'
9+
classpath 'com.android.tools.build:gradle:7.3.1'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}
@@ -26,6 +26,6 @@ subprojects {
2626
project.evaluationDependsOn(':app')
2727
}
2828

29-
task clean(type: Delete) {
29+
tasks.register("clean", Delete) {
3030
delete rootProject.buildDir
3131
}

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>8.0</string>
24+
<string>11.0</string>
2525
</dict>
2626
</plist>

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '9.0'
2+
# platform :ios, '11.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

example/ios/Podfile.lock

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,28 @@ PODS:
22
- disk_space (0.0.1):
33
- Flutter
44
- Flutter (1.0.0)
5+
- path_provider_foundation (0.0.1):
6+
- Flutter
7+
- FlutterMacOS
58

69
DEPENDENCIES:
710
- disk_space (from `.symlinks/plugins/disk_space/ios`)
811
- Flutter (from `Flutter`)
12+
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
913

1014
EXTERNAL SOURCES:
1115
disk_space:
1216
:path: ".symlinks/plugins/disk_space/ios"
1317
Flutter:
1418
:path: Flutter
19+
path_provider_foundation:
20+
:path: ".symlinks/plugins/path_provider_foundation/darwin"
1521

1622
SPEC CHECKSUMS:
1723
disk_space: e94d34bbdf77954adfb39e60bde9cc5c7233eda6
18-
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
24+
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
25+
path_provider_foundation: eaf5b3e458fc0e5fbb9940fb09980e853fe058b8
1926

20-
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
27+
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
2128

22-
COCOAPODS: 1.10.1
29+
COCOAPODS: 1.12.1

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -164,7 +164,7 @@
164164
97C146E61CF9000F007C117D /* Project object */ = {
165165
isa = PBXProject;
166166
attributes = {
167-
LastUpgradeCheck = 1020;
167+
LastUpgradeCheck = 1300;
168168
ORGANIZATIONNAME = "The Chromium Authors";
169169
TargetAttributes = {
170170
97C146ED1CF9000F007C117D = {
@@ -210,10 +210,12 @@
210210
/* Begin PBXShellScriptBuildPhase section */
211211
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
212212
isa = PBXShellScriptBuildPhase;
213+
alwaysOutOfDate = 1;
213214
buildActionMask = 2147483647;
214215
files = (
215216
);
216217
inputPaths = (
218+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
217219
);
218220
name = "Thin Binary";
219221
outputPaths = (
@@ -230,10 +232,12 @@
230232
inputPaths = (
231233
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
232234
"${BUILT_PRODUCTS_DIR}/disk_space/disk_space.framework",
235+
"${BUILT_PRODUCTS_DIR}/path_provider_foundation/path_provider_foundation.framework",
233236
);
234237
name = "[CP] Embed Pods Frameworks";
235238
outputPaths = (
236239
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/disk_space.framework",
240+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider_foundation.framework",
237241
);
238242
runOnlyForDeploymentPostprocessing = 0;
239243
shellPath = /bin/sh;
@@ -264,6 +268,7 @@
264268
};
265269
9740EEB61CF901F6004384FC /* Run Script */ = {
266270
isa = PBXShellScriptBuildPhase;
271+
alwaysOutOfDate = 1;
267272
buildActionMask = 2147483647;
268273
files = (
269274
);
@@ -351,7 +356,7 @@
351356
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
352357
GCC_WARN_UNUSED_FUNCTION = YES;
353358
GCC_WARN_UNUSED_VARIABLE = YES;
354-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
359+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
355360
MTL_ENABLE_DEBUG_INFO = NO;
356361
SDKROOT = iphoneos;
357362
TARGETED_DEVICE_FAMILY = "1,2";
@@ -373,7 +378,10 @@
373378
"$(PROJECT_DIR)/Flutter",
374379
);
375380
INFOPLIST_FILE = Runner/Info.plist;
376-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
381+
LD_RUNPATH_SEARCH_PATHS = (
382+
"$(inherited)",
383+
"@executable_path/Frameworks",
384+
);
377385
LIBRARY_SEARCH_PATHS = (
378386
"$(inherited)",
379387
"$(PROJECT_DIR)/Flutter",
@@ -434,7 +442,7 @@
434442
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
435443
GCC_WARN_UNUSED_FUNCTION = YES;
436444
GCC_WARN_UNUSED_VARIABLE = YES;
437-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
445+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
438446
MTL_ENABLE_DEBUG_INFO = YES;
439447
ONLY_ACTIVE_ARCH = YES;
440448
SDKROOT = iphoneos;
@@ -483,7 +491,7 @@
483491
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
484492
GCC_WARN_UNUSED_FUNCTION = YES;
485493
GCC_WARN_UNUSED_VARIABLE = YES;
486-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
494+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
487495
MTL_ENABLE_DEBUG_INFO = NO;
488496
SDKROOT = iphoneos;
489497
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -506,7 +514,10 @@
506514
"$(PROJECT_DIR)/Flutter",
507515
);
508516
INFOPLIST_FILE = Runner/Info.plist;
509-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
517+
LD_RUNPATH_SEARCH_PATHS = (
518+
"$(inherited)",
519+
"@executable_path/Frameworks",
520+
);
510521
LIBRARY_SEARCH_PATHS = (
511522
"$(inherited)",
512523
"$(PROJECT_DIR)/Flutter",
@@ -535,7 +546,10 @@
535546
"$(PROJECT_DIR)/Flutter",
536547
);
537548
INFOPLIST_FILE = Runner/Info.plist;
538-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
549+
LD_RUNPATH_SEARCH_PATHS = (
550+
"$(inherited)",
551+
"@executable_path/Frameworks",
552+
);
539553
LIBRARY_SEARCH_PATHS = (
540554
"$(inherited)",
541555
"$(PROJECT_DIR)/Flutter",

0 commit comments

Comments
 (0)