logback-android
logback-android copied to clipboard
Cannot create AAR with ./scripts/makejar.sh
trafficstars
Describe the bug
我使用scripts/makejar.sh命令无法生成aar文件
Google Translation: I use scripts/makejar.sh command, but I cannot generate aar file
$ ./scripts/makejar.sh
gradle.properties: line 19: org.gradle.jvmargs=-Xmx6g: command not found
Reproduction
??
Logs
No response
logback-android version
latest
OS Version
10.0
What logback configuration are you using? (logback.xml or Java/Kotlin code)
No response
Validations
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a minimal reproducible of the bug.
A workaround for now is to replace this line:
https://github.com/tony19/logback-android/blob/a7bc9ae7fd4508e9da3f24293b9c73f8bab76f5c/scripts/makejar.sh#L13
with the VERSION_NAME variable from gradle.properties:
https://github.com/tony19/logback-android/blob/a7bc9ae7fd4508e9da3f24293b9c73f8bab76f5c/gradle.properties#L11
The result:
-. gradle.properties
+VERSION_NAME=3.0.1-SNAPSHOT