group 'cn.i2edu.dubbing_lib' version '1.0-SNAPSHOT' buildscript { ext.kotlin_version = '1.3.20' repositories { google() jcenter() maven { url 'https://jitpack.io' } } dependencies { classpath 'com.android.tools.build:gradle:3.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } rootProject.allprojects { repositories { google() jcenter() maven { url 'https://jitpack.io' } } } apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { compileSdkVersion 28 sourceSets { main { java.srcDirs += 'src/main/kotlin' jniLibs.srcDirs = ['libs'] } } defaultConfig { minSdkVersion 16 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } lintOptions { disable 'InvalidPackage' } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" compileOnly files('libs/flutter.jar') implementation 'com.googlecode.mp4parser:isoparser:1.0-RC-37' implementation 'com.alibaba:fastjson:1.1.71.android' }