Compare commits

..

5 Commits

Author SHA1 Message Date
63af9ba8e0 0.13.0 2021-11-12 14:35:36 +06:00
b5d0eda79d start 0.0.13 2021-11-12 13:36:43 +06:00
5d32bf567c Update mppProjectWithSerialization.gradle 2021-09-23 13:19:27 +06:00
0444d5fe8d Update mppJavaProject.gradle 2021-09-23 13:19:14 +06:00
ea18b23a2c Merge pull request #8 from InsanusMokrassar/0.0.12
0.0.12
2021-09-22 23:51:14 +06:00
5 changed files with 24 additions and 12 deletions

View File

@@ -51,12 +51,12 @@ class DefaultAdminsCacheAPIRepo(
}
override suspend fun getChatAdmins(chatId: ChatId): List<AdministratorChatMember>? = suspendCoroutine {
actor.offer(GetChatAdminsRepoAction(chatId, it))
actor.trySend(GetChatAdminsRepoAction(chatId, it))
}
override suspend fun setChatAdmins(chatId: ChatId, chatMembers: List<AdministratorChatMember>) = suspendCoroutine<Unit> {
actor.offer(SetChatAdminsRepoAction(chatId, chatMembers, it))
actor.trySend(SetChatAdminsRepoAction(chatId, chatMembers, it))
}
override suspend fun lastUpdate(chatId: ChatId): DateTime? = suspendCoroutine {
actor.offer(GetUpdateDateTimeRepoAction(chatId, it))
actor.trySend(GetUpdateDateTimeRepoAction(chatId, it))
}
}

View File

@@ -7,14 +7,14 @@ android.useAndroidX=true
android.enableJetifier=true
kotlin_version=1.5.31
kotlin_serialisation_core_version=1.2.2
kotlin_serialisation_core_version=1.3.1
github_release_plugin_version=2.2.12
tgbotapi_version=0.35.9
micro_utils_version=0.5.28
exposed_version=0.34.2
plagubot_version=0.3.2
tgbotapi_version=0.37.0
micro_utils_version=0.8.2
exposed_version=0.36.1
plagubot_version=0.4.0
# ANDROID
@@ -28,10 +28,10 @@ espresso_core=3.3.0
# Dokka
dokka_version=1.5.30
dokka_version=1.5.31
# Project data
group=dev.inmo
version=0.0.12
android_code_version=11
version=0.0.13
android_code_version=12

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -28,3 +28,9 @@ kotlin {
}
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

View File

@@ -47,4 +47,10 @@ kotlin {
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
apply from: "$defaultAndroidSettingsPresetPath"