Version 2.0.1

This commit is contained in:
Mikołaj Pich 2023-05-11 23:59:20 +02:00
parent c1573f04c5
commit b86f188dba
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ plugins {
}
ext {
PUBLISH_VERSION = '1.9.2'
PUBLISH_VERSION = libs.versions.sdk
SITE_URL = 'https://github.com/wulkanowy/sdk'
GIT_URL = 'https://github.com/wulkanowy/sdk.git'

View file

@ -324,7 +324,7 @@ class Sdk {
}
suspend fun getCurrentStudent(): RegisterStudent? = withContext(Dispatchers.IO) {
when(mode) {
when (mode) {
Mode.SCRAPPER, Mode.HYBRID -> scrapper.getCurrentStudent()?.mapStudent()
Mode.HEBE -> throw NotImplementedError("Not available in HEBE mode")
}

View file

@ -7,7 +7,7 @@ dependencyResolutionManagement {
libs {
def kotlin = '1.8.20'
version('sdk', '2.0.1-SNAPSHOT')
version('sdk', '2.0.1')
version('kotlin', kotlin)
version('coroutines', '1.6.4')
version('retrofit', '2.9.0')