traget android sdk 30
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jannik 2020-09-16 18:38:13 +02:00
parent 36568e9682
commit 451f6082ff
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
3 changed files with 10 additions and 7 deletions

View File

@ -3,15 +3,18 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
android { android {
signingConfigs { signingConfigs {
} }
compileSdkVersion 29 compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig { defaultConfig {
applicationId "org.mosad.seil0.projectlaogai" applicationId "org.mosad.seil0.projectlaogai"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 29 targetSdkVersion 30
versionCode 6090 // 0006000 versionCode 6090 // 00.06.090
versionName "0.6.1-beta1" versionName "0.6.1-beta1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
resValue "string", "build_time", buildTime() resValue "string", "build_time", buildTime()
@ -69,7 +72,7 @@ dependencies {
implementation 'androidx.security:security-crypto:1.1.0-alpha02' implementation 'androidx.security:security-crypto:1.1.0-alpha02'
implementation 'androidx.work:work-runtime:2.4.0' implementation 'androidx.work:work-runtime:2.4.0'
implementation "androidx.work:work-runtime-ktx:2.4.0" implementation "androidx.work:work-runtime-ktx:2.4.0"
implementation 'com.google.android.material:material:1.2.0' implementation 'com.google.android.material:material:1.2.1'
implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.afollestad:aesthetic:1.0.0-beta05' implementation 'com.afollestad:aesthetic:1.0.0-beta05'
implementation 'com.afollestad.material-dialogs:core:3.3.0' implementation 'com.afollestad.material-dialogs:core:3.3.0'
@ -82,7 +85,7 @@ dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2' testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
androidTestImplementation 'androidx.test:core:1.3.0' androidTestImplementation 'androidx.test:core:1.3.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.ext:junit:1.1.2'
} }
static def buildTime() { static def buildTime() {

View File

@ -38,7 +38,7 @@ class CourseSelectionDialog(val context: Context) {
} }
fun listItems(func: CourseSelectionDialog.() -> Unit): CourseSelectionDialog = apply { fun listItems(func: CourseSelectionDialog.() -> Unit): CourseSelectionDialog = apply {
dialog.listItems(items = list) { dialog, index, text -> dialog.listItems(items = list) { _, index, _ ->
selectedIndex = index selectedIndex = index
func() func()

View File

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.4.0' ext.kotlin_version = '1.4.10'
repositories { repositories {
google() google()
jcenter() jcenter()