50 lines
1.2 KiB
Groovy
50 lines
1.2 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
|
|
id "com.vanniktech.maven.publish"
|
|
}
|
|
|
|
android {
|
|
defaultConfig {
|
|
namespace "com.dailystudio.devbricksx.music"
|
|
|
|
compileSdk COMPILE_SDK
|
|
minSdkVersion MINI_SDK
|
|
targetSdkVersion TARGET_SDK
|
|
versionCode VERSION_CODE
|
|
versionName VERSION_NAME
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
|
|
multiDexEnabled true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
api project(":devbricksx")
|
|
|
|
testImplementation "junit:junit:$junit_version"
|
|
androidTestImplementation "androidx.test.ext:junit:$android_junit_ext_version"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:$android_junit_espresso_version"
|
|
}
|
|
|
|
apply from: '../buildscripts/maven_push.gradle' |