Skip to content

Commit 2b62b87

Browse files
Dr. Maxie Dion SchmidtDr. Maxie Dion Schmidt
authored andcommitted
Working better with older Android Studio - Bumblebee
1 parent 929df3f commit 2b62b87

4 files changed

Lines changed: 22 additions & 23 deletions

File tree

AndroidFilePickerLightLibrary/build.gradle

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//plugins {
2-
3-
//id 'com.android.application' version '9.0.0' apply false
4-
//id 'com.android.library' version '9.0.0' apply false
2+
// id 'com.android.application' version '9.0.0' apply false
3+
// id 'com.android.library' version '9.0.0' apply false
54
//}
65

76
apply plugin: 'com.android.library'
@@ -44,27 +43,25 @@ android {
4443
minSdkVersion 29
4544
targetSdkVersion 33
4645
compileSdkVersion 33
46+
compileSdk 33
4747
versionCode 23
4848
versionName "1.3.0"
49-
//buildToolsVersion "30.0.1"
49+
buildToolsVersion "31.3.0"
50+
buildFeatures.buildConfig = true
5051

5152
}
5253

54+
namespace 'com.maxieds.androidfilepickerlight'
55+
5356
compileOptions {
5457

58+
//sourceCompatibility JavaVersion.VERSION_1_8
59+
//targetCompatibility JavaVersion.VERSION_1_8
5560
sourceCompatibility JavaVersion.VERSION_17
5661
targetCompatibility JavaVersion.VERSION_17
5762

5863
}
5964

60-
externalNativeBuild {
61-
62-
cmake {
63-
version "3.23.2"
64-
}
65-
66-
}
67-
6865
buildTypes {
6966

7067
release {
@@ -86,8 +83,6 @@ android {
8683
libraryInstallLocation : "preferExternal"
8784
]
8885

89-
90-
9186
}
9287

9388
debug {

app/build.gradle

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,23 @@ android {
55
defaultConfig {
66

77
applicationId "com.maxieds.androidfilepickerlight"
8-
minSdkVersion 26
9-
targetSdkVersion 30
10-
compileSdkVersion 31
11-
versionCode 2
12-
versionName "1.0"
8+
minSdkVersion 29
9+
targetSdkVersion 33
10+
compileSdkVersion 33
11+
versionCode 3
12+
versionName "1.3.0"
1313
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1414

1515
}
1616

17+
namespace 'com.maxieds.androidfilepickerlight'
18+
1719
compileOptions {
1820

19-
sourceCompatibility JavaVersion.VERSION_1_8
20-
targetCompatibility JavaVersion.VERSION_1_8
21+
//sourceCompatibility JavaVersion.VERSION_1_8
22+
//targetCompatibility JavaVersion.VERSION_1_8
23+
sourceCompatibility JavaVersion.VERSION_17
24+
targetCompatibility JavaVersion.VERSION_17
2125

2226
}
2327

0 commit comments

Comments
 (0)