diff --git a/android/build.gradle b/android/build.gradle index 6399eff4..f34a05b0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,35 +1,21 @@ -group 'xyz.justsoft.video_thumbnail' -version '1.0-SNAPSHOT' - -buildscript { - repositories { - google() - jcenter() - } - - dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' - } -} - -rootProject.allprojects { - repositories { - google() - jcenter() - } -} - apply plugin: 'com.android.library' +apply plugin: 'kotlin-android' android { - compileSdkVersion 33 - namespace 'xyz.justsoft.video_thumbnail' + compileSdkVersion 36 defaultConfig { - minSdkVersion 16 - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + minSdkVersion 26 + targetSdkVersion 36 } - lintOptions { - disable 'InvalidPackage' + + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } } + +dependencies { + implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" + implementation 'androidx.core:core-ktx:1.13.1' +}