Skip to content

Commit 21b32dd

Browse files
Dr. Maxie Dion SchmidtDr. Maxie Dion Schmidt
authored andcommitted
Attempt to fix jitpack.io issue where publishToMavenLocal task is not found in the root project
1 parent bb51c8b commit 21b32dd

4 files changed

Lines changed: 30 additions & 10 deletions

File tree

AndroidFilePickerLightLibrary/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ def getDateTimestamp() {
1313
def getShellCommandOutput(String shellCmd) {
1414
try {
1515
def cmdResult = ['bash', '-c', shellCmd].execute();
16-
int waitResult = cmdResult.waitFor();
16+
int waitResult = cmdResult.wait();
1717
if (cmdResult.text.length() == 0 || waitResult != 0) {
1818
return '';
1919
}
2020
String cmdResultText = cmdResult.text;
2121
return cmdResultText.substring(0, cmdResultText.length() - 1);
2222
//return cmdResult.text[0..-2]
2323
} catch (Exception streamError) {
24-
streamError.printStackTrace();
24+
//streamError.printStackTrace();
2525
return '';
2626
}
2727
}
@@ -46,8 +46,8 @@ android {
4646
targetSdkVersion 35
4747
compileSdkVersion 35
4848
compileSdk 35
49-
versionCode 26
50-
versionName "1.3.3-beta"
49+
versionCode 27
50+
versionName "1.3.4-beta"
5151
buildFeatures.buildConfig = true
5252
buildToolsVersion '35.0.1'
5353

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-02-27-044612";
11+
public static final String BUILD_TIMESTAMP = "2026-03-05-030431";
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 = 26L;
17+
public static final long VERSION_CODE = 27L;
1818
// Field from build type: debug
19-
public static final String VERSION_NAME = "1.3.3-beta";
19+
public static final String VERSION_NAME = "1.3.4-beta";
2020
}

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ android {
1010
applicationId "com.maxieds.androidfilepickerlight"
1111
minSdkVersion 29
1212
targetSdkVersion 35
13-
versionCode 7
14-
versionName "1.3.3-beta"
13+
versionCode 8
14+
versionName "1.3.4-beta"
1515
buildFeatures.buildConfig = true
1616
buildToolsVersion '35.0.1'
1717

build.gradle

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
1+
// Top-level build file where you can add configuration
2+
// options common to all sub-projects/modules.
3+
24
plugins {
35

46
alias(libs.plugins.android.application) apply false
7+
id 'maven-publish'
8+
id 'java'
9+
10+
}
11+
12+
group 'com.maxieds.androidfilepickerlightlibrary'
13+
version '1.3.4-beta'
14+
15+
publishing {
16+
17+
publications {
18+
19+
mavenJava(MavenPublication) {
20+
// Publish the 'java' component (generated by the 'java' plugin):
21+
from components.java
22+
}
23+
24+
}
525

626
}

0 commit comments

Comments
 (0)