Also change layout so that new options that require restarting the stream now appear before the start button
49 lines
1.5 KiB
Groovy
49 lines
1.5 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 32
|
|
buildToolsVersion '30.0.3'
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId 'com.lodriguez.pulsedroid'
|
|
minSdkVersion 14
|
|
targetSdkVersion 32
|
|
|
|
// version code: each number in the version string gets two digits (leading zero removed for first one). one additional digit for pre-release versions.
|
|
// So: 2.0.0 is: 02 + 00 + 00 + 0
|
|
versionCode 200000
|
|
version "2.0.0"
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
applicationIdSuffix ".dev"
|
|
}
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.txt'
|
|
|
|
signingConfig null
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
implementation 'com.google.android.material:material:1.5.0'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation 'com.nhaarman:mockito-kotlin:1.5.0'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
}
|