group 'com.nkming.nc_photos.plugin' version '1.0-SNAPSHOT' buildscript { ext.kotlin_version = '1.8.20' repositories { google() mavenCentral() gradlePluginPortal() } dependencies { classpath 'com.android.tools.build:gradle:7.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } rootProject.allprojects { repositories { google() mavenCentral() maven { url 'https://jitpack.io' } } } apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { namespace 'com.nkming.nc_photos.plugin' compileSdk 34 compileOptions { coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } lintOptions { disable 'LongLogTag' } defaultConfig { minSdk 23 } } dependencies { coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.3" implementation "androidx.core:core-ktx:1.10.1" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "com.nkming.nc_photos.np_android_core:np_android_core" }