diff --git a/build.gradle b/build.gradle index dcc6375c..f19f558d 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ ext { moshi = "1.13.0" } -version = "2.2.0" +version = "2.2.1-SNAPSHOT" group = "io.github.wulkanowy" nexusPublishing { diff --git a/sdk-hebe/build.gradle b/sdk-hebe/build.gradle index 3e667e26..b20a7511 100644 --- a/sdk-hebe/build.gradle +++ b/sdk-hebe/build.gradle @@ -12,5 +12,5 @@ dependencies { implementation libs.retrofit.scalars implementation libs.retrofit.serialization - testImplementation "io.mockk:mockk-jvm:1.13.7" + testImplementation "io.mockk:mockk-jvm:1.13.8" } diff --git a/sdk-scrapper/api/sdk-scrapper.api b/sdk-scrapper/api/sdk-scrapper.api index 60e4bc97..17c2def0 100644 --- a/sdk-scrapper/api/sdk-scrapper.api +++ b/sdk-scrapper/api/sdk-scrapper.api @@ -110,6 +110,7 @@ public final class io/github/wulkanowy/sdk/scrapper/Scrapper$LoginType : java/la public static final field ADFSLightScoped Lio/github/wulkanowy/sdk/scrapper/Scrapper$LoginType; public static final field AUTO Lio/github/wulkanowy/sdk/scrapper/Scrapper$LoginType; public static final field STANDARD Lio/github/wulkanowy/sdk/scrapper/Scrapper$LoginType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/scrapper/Scrapper$LoginType; public static fun values ()[Lio/github/wulkanowy/sdk/scrapper/Scrapper$LoginType; } @@ -190,6 +191,7 @@ public final class io/github/wulkanowy/sdk/scrapper/attendance/AttendanceCategor public static final field UNKNOWN Lio/github/wulkanowy/sdk/scrapper/attendance/AttendanceCategory; public static final fun getCategoryById (I)Lio/github/wulkanowy/sdk/scrapper/attendance/AttendanceCategory; public static final fun getCategoryByName (Ljava/lang/String;)Lio/github/wulkanowy/sdk/scrapper/attendance/AttendanceCategory; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public final fun getId ()I public final fun getTitle ()Ljava/lang/String; public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/scrapper/attendance/AttendanceCategory; @@ -231,6 +233,7 @@ public final class io/github/wulkanowy/sdk/scrapper/attendance/SentExcuseStatus public static final field Companion Lio/github/wulkanowy/sdk/scrapper/attendance/SentExcuseStatus$Companion; public static final field DENIED Lio/github/wulkanowy/sdk/scrapper/attendance/SentExcuseStatus; public static final field WAITING Lio/github/wulkanowy/sdk/scrapper/attendance/SentExcuseStatus; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public final fun getId ()I public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/scrapper/attendance/SentExcuseStatus; public static fun values ()[Lio/github/wulkanowy/sdk/scrapper/attendance/SentExcuseStatus; @@ -1138,6 +1141,7 @@ public final class io/github/wulkanowy/sdk/scrapper/messages/Folder : java/lang/ public static final field RECEIVED Lio/github/wulkanowy/sdk/scrapper/messages/Folder; public static final field SENT Lio/github/wulkanowy/sdk/scrapper/messages/Folder; public static final field TRASHED Lio/github/wulkanowy/sdk/scrapper/messages/Folder; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/scrapper/messages/Folder; public static fun values ()[Lio/github/wulkanowy/sdk/scrapper/messages/Folder; } @@ -1405,6 +1409,7 @@ public final class io/github/wulkanowy/sdk/scrapper/messages/RecipientType : jav public static final field PARENT Lio/github/wulkanowy/sdk/scrapper/messages/RecipientType; public static final field STUDENT Lio/github/wulkanowy/sdk/scrapper/messages/RecipientType; public static final field UNKNOWN Lio/github/wulkanowy/sdk/scrapper/messages/RecipientType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public final fun getLetter ()Ljava/lang/String; public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/scrapper/messages/RecipientType; public static fun values ()[Lio/github/wulkanowy/sdk/scrapper/messages/RecipientType; @@ -1535,6 +1540,7 @@ public final class io/github/wulkanowy/sdk/scrapper/notes/NoteCategory : java/la public static final field NEUTRAL Lio/github/wulkanowy/sdk/scrapper/notes/NoteCategory; public static final field POSITIVE Lio/github/wulkanowy/sdk/scrapper/notes/NoteCategory; public static final field UNKNOWN Lio/github/wulkanowy/sdk/scrapper/notes/NoteCategory; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public final fun getId ()I public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/scrapper/notes/NoteCategory; public static fun values ()[Lio/github/wulkanowy/sdk/scrapper/notes/NoteCategory; diff --git a/sdk-scrapper/build.gradle b/sdk-scrapper/build.gradle index b16a4bb9..0746fdc1 100644 --- a/sdk-scrapper/build.gradle +++ b/sdk-scrapper/build.gradle @@ -16,7 +16,7 @@ dependencies { implementation "com.squareup.okhttp3:okhttp-urlconnection" - testImplementation "io.mockk:mockk-jvm:1.13.7" + testImplementation "io.mockk:mockk-jvm:1.13.8" } tasks.withType(Test).configureEach { diff --git a/sdk/api/sdk.api b/sdk/api/sdk.api index fc41580e..5bdf3de1 100644 --- a/sdk/api/sdk.api +++ b/sdk/api/sdk.api @@ -116,6 +116,7 @@ public final class io/github/wulkanowy/sdk/Sdk$Mode : java/lang/Enum { public static final field HEBE Lio/github/wulkanowy/sdk/Sdk$Mode; public static final field HYBRID Lio/github/wulkanowy/sdk/Sdk$Mode; public static final field SCRAPPER Lio/github/wulkanowy/sdk/Sdk$Mode; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/Sdk$Mode; public static fun values ()[Lio/github/wulkanowy/sdk/Sdk$Mode; } @@ -128,6 +129,7 @@ public final class io/github/wulkanowy/sdk/Sdk$ScrapperLoginType : java/lang/Enu public static final field ADFSLightScoped Lio/github/wulkanowy/sdk/Sdk$ScrapperLoginType; public static final field AUTO Lio/github/wulkanowy/sdk/Sdk$ScrapperLoginType; public static final field STANDARD Lio/github/wulkanowy/sdk/Sdk$ScrapperLoginType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/Sdk$ScrapperLoginType; public static fun values ()[Lio/github/wulkanowy/sdk/Sdk$ScrapperLoginType; } @@ -335,6 +337,7 @@ public final class io/github/wulkanowy/sdk/pojo/Folder : java/lang/Enum { public static final field RECEIVED Lio/github/wulkanowy/sdk/pojo/Folder; public static final field SENT Lio/github/wulkanowy/sdk/pojo/Folder; public static final field TRASHED Lio/github/wulkanowy/sdk/pojo/Folder; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public final fun getId ()I public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/pojo/Folder; public static fun values ()[Lio/github/wulkanowy/sdk/pojo/Folder; @@ -675,6 +678,7 @@ public final class io/github/wulkanowy/sdk/pojo/MailboxType : java/lang/Enum { public static final field PARENT Lio/github/wulkanowy/sdk/pojo/MailboxType; public static final field STUDENT Lio/github/wulkanowy/sdk/pojo/MailboxType; public static final field UNKNOWN Lio/github/wulkanowy/sdk/pojo/MailboxType; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public final fun getLetter ()Ljava/lang/String; public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/pojo/MailboxType; public static fun values ()[Lio/github/wulkanowy/sdk/pojo/MailboxType; @@ -1109,6 +1113,7 @@ public final class io/github/wulkanowy/sdk/pojo/SentMessage { public final class io/github/wulkanowy/sdk/pojo/StudentGender : java/lang/Enum { public static final field FEMALE Lio/github/wulkanowy/sdk/pojo/StudentGender; public static final field MALE Lio/github/wulkanowy/sdk/pojo/StudentGender; + public static fun getEntries ()Lkotlin/enums/EnumEntries; public static fun valueOf (Ljava/lang/String;)Lio/github/wulkanowy/sdk/pojo/StudentGender; public static fun values ()[Lio/github/wulkanowy/sdk/pojo/StudentGender; } diff --git a/settings.gradle b/settings.gradle index 53f6ee0b..878a7cd6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,18 +5,18 @@ include 'sdk' dependencyResolutionManagement { versionCatalogs { libs { - def kotlin = '1.8.21' + def kotlin = '1.9.10' version('kotlin', kotlin) - version('coroutines', '1.7.1') + version('coroutines', '1.7.3') version('retrofit', '2.10.0-SNAPSHOT') version('retrofit-kotlinx-serialization', '1.0.0') - version('ksp', "${kotlin}-1.0.11") + version('ksp', "${kotlin}-1.0.13") plugin('kotlin', 'org.jetbrains.kotlin.jvm').versionRef('kotlin') plugin('ksp', 'com.google.devtools.ksp').versionRef('ksp') plugin('serialization', 'org.jetbrains.kotlin.plugin.serialization').versionRef('kotlin') - plugin('validator', 'org.jetbrains.kotlinx.binary-compatibility-validator').version('0.13.1') + plugin('validator', 'org.jetbrains.kotlinx.binary-compatibility-validator').version('0.13.2') library('coroutines-core', 'org.jetbrains.kotlinx', 'kotlinx-coroutines-core').versionRef('coroutines') library('coroutines-test', 'org.jetbrains.kotlinx', 'kotlinx-coroutines-test').versionRef('coroutines')