6.7.0 - Alpha16 - 打包应用支持自带离线 Paddle OCR 引擎, 避免依赖插件安装
This commit is contained in:
28
plugin-api/paddle-ocr-api/build.gradle.kts
Normal file
28
plugin-api/paddle-ocr-api/build.gradle.kts
Normal file
@@ -0,0 +1,28 @@
|
||||
plugins {
|
||||
id("org.autojs.build.versions")
|
||||
id("org.autojs.build.jvm-convention")
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
kotlin("plugin.parcelize")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "org.autojs.plugin.paddle.ocr.api"
|
||||
|
||||
compileSdk = versions.sdkVersionCompile
|
||||
|
||||
defaultConfig {
|
||||
minSdk = versions.sdkVersionMin
|
||||
consumerProguardFiles("consumer-rules.pro")
|
||||
}
|
||||
|
||||
lint {
|
||||
targetSdk = versions.sdkVersionTarget
|
||||
abortOnError = false
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
aidl = true
|
||||
buildConfig = false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user