mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
fix build
This commit is contained in:
parent
6d4394a88d
commit
4e27600f9c
@ -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');
|
||||
}
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user