Version 2.0.0

This commit is contained in:
Mikołaj Pich 2023-05-07 23:17:48 +02:00
parent 14267a9a89
commit 60f8a506a5
3 changed files with 2 additions and 4 deletions

View file

@ -6,7 +6,6 @@ import kotlinx.serialization.Serializer
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import java.time.LocalDate
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
@OptIn(ExperimentalSerializationApi::class)

View file

@ -6,7 +6,6 @@ import io.github.wulkanowy.sdk.hebe.models.Grade
import io.github.wulkanowy.sdk.hebe.models.GradeAverage
import io.github.wulkanowy.sdk.hebe.models.GradeSummary
import retrofit2.http.GET
import retrofit2.http.Query
import retrofit2.http.QueryMap
@JvmSuppressWildcards
@ -16,7 +15,7 @@ internal interface StudentService {
suspend fun getGrades(@QueryMap query: Map<String, Any?>): ApiResponse<List<Grade>>
@GET("api/mobile/grade/summary/byPupil")
suspend fun getGradesSummary(@QueryMap query: Map<String, Any?> ): ApiResponse<List<GradeSummary>>
suspend fun getGradesSummary(@QueryMap query: Map<String, Any?>): ApiResponse<List<GradeSummary>>
@GET("api/mobile/grade/average/byPupil")
suspend fun getGradesAverage(@QueryMap query: Map<String, Any?>): ApiResponse<List<GradeAverage>>

View file

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