Skip to content

Commit 27408f2

Browse files
Dr. Maxie Dion SchmidtDr. Maxie Dion Schmidt
authored andcommitted
Modified JAR tasks in lib/build.gradle
1 parent 44cae9d commit 27408f2

3 files changed

Lines changed: 21 additions & 22 deletions

File tree

AndroidFilePickerLightLibrary/build.gradle

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def getShellCommandOutput(String shellCmd) {
1919
}
2020
String cmdResultText = cmdResult.text;
2121
return cmdResultText.substring(0, cmdResultText.length() - 1);
22-
//return cmdResult.text[0..-2]
2322
} catch (Exception streamError) {
2423
//streamError.printStackTrace();
2524
return '';
@@ -38,6 +37,22 @@ def getGitCommitDate() {
3837

3938
}
4039

40+
// Task to delete the old jar:
41+
task clearJarRelease(type: Delete) {
42+
delete 'build/libs/AndroidFilePickerLightLibrary-${android.defaultConfig.versionName}.jar'
43+
}
44+
45+
// Task to export contents as jar:
46+
task makeJarRelease(type: Copy) {
47+
from('build/intermediates/runtime_library_classes_jar/release/bundleLibCompileToJarRelease')
48+
into('build/libs/')
49+
include('classes.jar')
50+
rename('classes.jar', 'AndroidFilePickerLightLibrary-${android.defaultConfig.versionName}.jar')
51+
}
52+
53+
/* Build the JAR file by running: $ ./gradlew makeJar */
54+
makeJarRelease.dependsOn(clearJarRelease, build)
55+
4156
android {
4257

4358
defaultConfig {
@@ -120,22 +135,6 @@ android {
120135

121136
}
122137

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-
139138
dependencies {
140139

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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-074950";
11+
public static final String BUILD_TIMESTAMP = "2026-03-05-082932";
1212
// Field from build type: debug
1313
public static final String GIT_COMMIT_DATE = "";
1414
// Field from build type: debug

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-
#Thu Mar 05 07:44:41 CST 2026
2-
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
1+
#Thu Mar 05 07:53:51 CST 2026
32
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
3+
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
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\:/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
109
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
10+
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
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/progressbar_1.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_1.webp
1615
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
16+
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
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

0 commit comments

Comments
 (0)