Files
speech_text_ifly/android/build.gradle
2022-01-24 16:10:41 +08:00

52 lines
988 B
Groovy
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

group 'cn.com.motse.iflytek_speech_demo'
version '1.0'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 30
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion 16
//noinspection OldTargetApi
targetSdkVersion 29
}
// 添加硬件库依赖
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
}
// 添加sdk依赖后面2个不一定需要
dependencies {
implementation files('libs/Msc.jar')
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.4.0'
}