diff --git a/app_pojavlauncher/build.gradle b/app_pojavlauncher/build.gradle index 1c491df1c..d2c357db0 100644 --- a/app_pojavlauncher/build.gradle +++ b/app_pojavlauncher/build.gradle @@ -1,16 +1,16 @@ apply plugin: 'com.android.application' -def getDate() { return new Date().format('yyyyMMdd')} +static def getDate() { return new Date().format('yyyyMMdd')} -def getDateSeconds() { - if(System.getenv("GITHUB_ACTIONS").equals("true")) { +static def getDateSeconds() { + if(System.getenv("GITHUB_ACTIONS") == "true") { return 9934841+Integer.parseInt(System.getenv("GITHUB_RUN_NUMBER")) }else{ return 172005 } } -def getVersionName = { +def getVersionName = { // Get the last version tag, as well as the short head of the last commit ByteArrayOutputStream TAG = new ByteArrayOutputStream() ByteArrayOutputStream BRANCH = new ByteArrayOutputStream() @@ -37,7 +37,7 @@ def getVersionName = { } android { - compileSdkVersion 30 + compileSdkVersion 31 dexOptions { javaMaxHeapSize "4g" } @@ -118,13 +118,13 @@ dependencies { // implementation 'com.wu-man:android-bsf-api:3.1.3' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.preference:preference:1.1.1' - implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'androidx.appcompat:appcompat:1.4.0' implementation 'androidx.legacy:legacy-preference-v14:1.0.0' implementation 'com.google.android.material:material:1.4.0' - implementation 'androidx.annotation:annotation:1.2.0' - implementation 'androidx.browser:browser:1.3.0' + implementation 'androidx.annotation:annotation:1.3.0' + implementation 'androidx.browser:browser:1.4.0' - implementation "androidx.constraintlayout:constraintlayout:2.1.1" + implementation "androidx.constraintlayout:constraintlayout:2.1.2" implementation 'com.github.martin-stone:hsv-alpha-color-picker-android:3.0.1' implementation 'com.github.duanhong169:checkerboarddrawable:1.0.2'