Skip to content

Commit 44cae9d

Browse files
Dr. Maxie Dion SchmidtDr. Maxie Dion Schmidt
authored andcommitted
Release v1.3.6-beta : Adds tasks to build the library into a JAR file
1 parent e70c224 commit 44cae9d

15 files changed

Lines changed: 41 additions & 145 deletions

File tree

AndroidFilePickerLightLibrary/build.gradle

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def getShellCommandOutput(String shellCmd) {
1414
try {
1515
def cmdResult = ['bash', '-c', shellCmd].execute();
1616
int waitResult = cmdResult.wait();
17-
if (cmdResult.text.length() == 0 || waitResult != 0) {
17+
if (cmdResult.text.length() == 0) {
1818
return '';
1919
}
2020
String cmdResultText = cmdResult.text;
@@ -46,8 +46,8 @@ android {
4646
targetSdkVersion 35
4747
compileSdkVersion 35
4848
compileSdk 35
49-
versionCode 28
50-
versionName "1.3.5-beta"
49+
versionCode 29
50+
versionName "1.3.6-beta"
5151
buildFeatures.buildConfig = true
5252
buildToolsVersion '35.0.1'
5353

@@ -120,6 +120,22 @@ android {
120120

121121
}
122122

123+
// Task to delete the old jar:
124+
task clearJar(type: Delete) {
125+
delete 'build/libs/AndroidFilePickerLightLibrary-${android.defaultConfig.versionName}.jar'
126+
}
127+
128+
// Task to export contents as jar:
129+
task makeJar(type: Copy) {
130+
from('build/intermediates/bundles/release/')
131+
into('build/libs/')
132+
include('classes.jar')
133+
rename('classes.jar', 'AndroidFilePickerLightLibrary-${android.defaultConfig.versionName}.jar')
134+
}
135+
136+
/* Build the JAR file by running: $ ./gradlew makeJar */
137+
makeJar.dependsOn(clearJar, build)
138+
123139
dependencies {
124140

125141
implementation fileTree(dir: "libs", include: ["*.jar"])

AndroidFilePickerLightLibrary/build/generated/source/buildConfig/debug/com/maxieds/androidfilepickerlightlibrary/BuildConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ public final class BuildConfig {
88
public static final String LIBRARY_PACKAGE_NAME = "com.maxieds.androidfilepickerlightlibrary";
99
public static final String BUILD_TYPE = "debug";
1010
// Field from build type: debug
11-
public static final String BUILD_TIMESTAMP = "2026-03-05-052604";
11+
public static final String BUILD_TIMESTAMP = "2026-03-05-074950";
1212
// Field from build type: debug
1313
public static final String GIT_COMMIT_DATE = "";
1414
// Field from build type: debug
1515
public static final String GIT_COMMIT_HASH = "";
1616
// Field from build type: debug
17-
public static final long VERSION_CODE = 28L;
17+
public static final long VERSION_CODE = 29L;
1818
// Field from build type: debug
19-
public static final String VERSION_NAME = "1.3.5-beta";
19+
public static final String VERSION_NAME = "1.3.6-beta";
2020
}

AndroidFilePickerLightLibrary/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ int color __colorPrimary 0x0
3333
int color __colorPrimaryDark 0x0
3434
int color __colorPrimaryVeryDark 0x0
3535
int color __colorTransparent 0x0
36+
int color __white 0x0
3637
int color colorFileListDivider_border 0x0
3738
int color colorFileListDivider_gradientEnd 0x0
3839
int color colorFileListDivider_gradientStart 0x0

AndroidFilePickerLightLibrary/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
#Fri Feb 27 04:26:37 CST 2026
2-
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/file_chooser_default_toolbar_icon48.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/file_chooser_default_toolbar_icon48.webp
1+
#Thu Mar 05 07:44:41 CST 2026
32
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/layout/nav_folder_button_long_form.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/layout/nav_folder_button_long_form.xml
3+
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/file_chooser_default_toolbar_icon48.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/file_chooser_default_toolbar_icon48.webp
44
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/hidden_file_icon32.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/hidden_file_icon32.webp
55
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/text_file_icon32.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/text_file_icon32.webp
66
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/progressbar_5.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_5.webp
77
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-hdpi/library_profile_icon_round_round.png=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-hdpi-v4/library_profile_icon_round_round.png
88
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/progressbar_0.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_0.webp
9-
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/layout/main_picker_activity_base_layout.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/layout/main_picker_activity_base_layout.xml
109
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/library_profile_icon_round_background.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/library_profile_icon_round_background.xml
10+
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/layout/main_picker_activity_base_layout.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/layout/main_picker_activity_base_layout.xml
1111
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-xxxhdpi/library_profile_icon_round.png=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxxhdpi-v4/library_profile_icon_round.png
1212
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-xxhdpi/library_profile_icon_round_round.png=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxhdpi-v4/library_profile_icon_round_round.png
1313
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/cancel_button_x_icon24.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/cancel_button_x_icon24.webp
1414
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/progressbar_4.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_4.webp
15-
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/rview_file_item_divider.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/rview_file_item_divider.xml
1615
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/progressbar_1.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_1.webp
16+
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/rview_file_item_divider.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/rview_file_item_divider.xml
1717
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-anydpi-v26/library_profile_icon_round.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-anydpi-v26/library_profile_icon_round.xml
1818
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-hdpi/library_profile_icon_round.png=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-hdpi-v4/library_profile_icon_round.png
1919
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/media_file_icon32.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/media_file_icon32.webp

AndroidFilePickerLightLibrary/build/intermediates/incremental/debug/packageDebugResources/merged.dir/values/values.xml

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)