build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. group 'cn.i2edu.speech_plugin'
  2. version '1.0-SNAPSHOT'
  3. buildscript {
  4. ext.kotlin_version = '1.3.20'
  5. repositories {
  6. google()
  7. jcenter()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:3.2.1'
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. }
  13. }
  14. rootProject.allprojects {
  15. repositories {
  16. google()
  17. jcenter()
  18. }
  19. }
  20. apply plugin: 'com.android.library'
  21. apply plugin: 'kotlin-android'
  22. android {
  23. compileSdkVersion 28
  24. sourceSets {
  25. main {
  26. java.srcDirs += 'src/main/kotlin'
  27. }
  28. }
  29. defaultConfig {
  30. minSdkVersion 16
  31. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  32. }
  33. lintOptions {
  34. disable 'InvalidPackage'
  35. }
  36. }
  37. dependencies {
  38. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  39. implementation 'com.googlecode.mp4parser:isoparser:1.0-RC-37'
  40. api "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
  41. implementation 'com.alibaba:fastjson:1.1.71.android'
  42. implementation 'com.tencent.taisdk:taisdk:1.2.3.3'
  43. implementation fileTree(dir: 'src\\main\\jniLibs', include: ['*.aar', '*.jar'], exclude: [])
  44. }