1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

fix build

This commit is contained in:
Laurent Cozic 2023-01-14 17:24:50 +00:00
parent 6d4394a88d
commit 4e27600f9c
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ function main() {
const mobileDir = `${__dirname}/..`;
fs.rmSync(`${mobileDir}/android/.gradle`, { recursive: true, force: true });
fs.rmSync(`${mobileDir}/android/app/build`, { recursive: true, force: true });
fs.rmSync(`${mobileDir}/android/build`, { recursive: true, force: true });
fs.rmSync(`${mobileDir}/ios/Pods`, { recursive: true, force: true });
console.info('To clean the Android build, in some rare cases you might also need to clear the cache in ~/.android and ~/.gradle');
}

View File

@ -19,10 +19,10 @@ def safeExtGet(prop, fallback) {
}
android {
compileSdkVersion safeExtGet('SafX_compileSdkVersion', 30)
compileSdkVersion safeExtGet('SafX_compileSdkVersion', 31)
defaultConfig {
minSdkVersion safeExtGet('SafX_minSdkVersion', 21)
targetSdkVersion safeExtGet('SafX_targetSdkVersion', 30)
targetSdkVersion safeExtGet('SafX_targetSdkVersion', 31)
versionCode 1
versionName "1.0"