group 'de.minimalme.spotify_sdk' version '1.0-SNAPSHOT' buildscript { ext.kotlin_version = '1.8.22' repositories { google() mavenCentral() maven { url "https://jitpack.io" } } dependencies { classpath 'com.android.tools.build:gradle:8.1.4' 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 { if (project.android.hasProperty("namespace")) { namespace 'de.minimalme.spotify_sdk' } compileSdk 35 compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = JavaVersion.VERSION_17 } sourceSets { main.java.srcDirs += 'src/main/kotlin' } defaultConfig { minSdkVersion 21 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { disable 'InvalidPackage' } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // -- spotify implementation "com.spotify.android:auth:2.1.0" implementation(name: 'spotify-app-remote-release-0.8.0', ext: 'aar') implementation 'com.google.code.gson:gson:2.10.1' // -- events implementation "com.github.stuhlmeier:kotlin-events:v2.0" } repositories { flatDir { dirs 'libs' } }