feat: support building on Android (#3713)

* feat: support building on Android

* chore: add CI for mobile platform
This commit is contained in:
Lucas.Xu
2023-10-19 09:55:23 +08:00
committed by GitHub
parent f60462a853
commit e565d0ee32
22 changed files with 356 additions and 123 deletions

View File

@ -2,14 +2,14 @@ group 'com.plugin.appflowy_backend'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.8.0'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
@ -25,13 +25,13 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 31
compileSdkVersion 33
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 16
minSdkVersion 23
}
}