group 'io.flutter.plugins.videoplayer' version '1.0-SNAPSHOT' def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"] buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' } } rootProject.allprojects { repositories { google() jcenter() } } project.getTasks().withType(JavaCompile){ options.compilerArgs.addAll(args) } apply plugin: 'com.android.library' android { namespace 'com.lazyarts.vikram.cached_video_player' compileSdkVersion 33 defaultConfig { minSdkVersion 16 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { disable 'InvalidPackage' } android { compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } } dependencies { implementation 'com.google.android.exoplayer:exoplayer-core:2.17.1' implementation 'com.google.android.exoplayer:exoplayer-hls:2.17.1' implementation 'com.google.android.exoplayer:exoplayer-dash:2.17.1' implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:2.17.1' } }