receive_intent_android34/android/build.gradle

54 lines
1.1 KiB
Groovy
Raw Normal View History

group 'com.bhikadia.receive_intent'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.7.22'
repositories {
google()
mavenCentral()
}
dependencies {
2023-12-28 14:00:54 +01:00
classpath 'com.android.tools.build:gradle:8.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
if (project.android.hasProperty("namespace")) {
namespace 'com.bhikadia.receive_intent'
}
2023-12-28 14:00:54 +01:00
compileSdkVersion 30
2023-12-28 14:00:54 +01:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 16
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "androidx.annotation:annotation:1.3.0"
}