Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency version bumps #615

Merged
merged 3 commits into from
Sep 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/dependencies/Libraries.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object Libraries {
val BOUNCYCASTLE = "org.bouncycastle:bcprov-jdk15on:${Versions.BOUNCYCASTLE}"
val JUNIT_JUPITER_API = "org.junit.jupiter:junit-jupiter-api:${Versions.JUNIT_JUPITER_API}"
val JUNIT_JUPITER_ENGINE = "org.junit.jupiter:junit-jupiter-engine:${Versions.JUNIT_JUPITER_ENGINE}"
val KOTLIN_SERIALIZATION_JVM = "org.jetbrains.kotlinx:kotlinx-serialization-core:${Versions.KOTLIN_SERIALIZATION_JVM}"
val KOTLIN_SERIALIZATION_JSON = "org.jetbrains.kotlinx:kotlinx-serialization-json:${Versions.KOTLIN_SERIALIZATION_JSON}"
val KOTLIN_COROUTINES_CORE = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.KOTLIN_COROUTINES_CORE}"
val KTOR_SERVER_NETTY = "io.ktor:ktor-server-netty:${Versions.KTOR_SERVER_NETTY}"
val KTOR_SERVER_SERVLET = "io.ktor:ktor-server-servlet:${Versions.KTOR_SERVER_SERVLET}"
Expand Down
22 changes: 11 additions & 11 deletions buildSrc/src/main/kotlin/dependencies/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
package dependencies

object Versions {
val JUNIT_JUPITER = "5.6.1"
val JUNIT_JUPITER = "5.7.0"
val BATIK = "1.13"
val KOTLIN = "1.4.0"
val KTOR = "1.4.0"
val KOTLIN = "1.4.10"
val KTOR = "1.4.1"
val PROGUARD = "7.0.0"
val KOTLESS = "0.1.6"

val MARKDOWNJ_CORE = "0.4"
val ZIP4J = "2.6.2"
val ITEXTPDF = "5.5.13.1"
val ZIP4J = "2.6.3"
val ITEXTPDF = "5.5.13.2"
val BATIK_TRANSCODER = BATIK
val SNAKEYAML = "1.26"
val SNAKEYAML = "1.27"
val SYSTEM_TRAY = "3.17"
val BOUNCYCASTLE = "1.66"
val JUNIT_JUPITER_API = JUNIT_JUPITER
val JUNIT_JUPITER_ENGINE = JUNIT_JUPITER
val KOTLIN_SERIALIZATION_JVM = "1.0.0-RC"
val KOTLIN_SERIALIZATION_JSON = "1.0.0-RC2"
val KOTLIN_COROUTINES_CORE = "1.3.9"
val KTOR_SERVER_NETTY = KTOR
val KTOR_SERVER_SERVLET = KTOR
Expand All @@ -28,17 +28,17 @@ object Versions {
val KOTLIN_ARGPARSER = "2.0.7"
val PROGUARD_GRADLE = PROGUARD
val WCA_I18N = "0.4.3"
val GOOGLE_APPENGINE_GRADLE = "2.3.0"
val GOOGLE_CLOUD_STORAGE = "1.111.2"
val GOOGLE_APPENGINE_GRADLE = "2.4.1"
val GOOGLE_CLOUD_STORAGE = "1.113.1"
val TNOODLE_SCRAMBLES = "0.18.0"
val APACHE_COMMONS_LANG3 = "3.11"
val KOTLESS_KTOR = KOTLESS
val TESTING_MOCKK = "1.10.0"
val TESTING_MOCKK = "1.10.2"

object Plugins {
val SHADOW = "6.0.0"
val NODEJS = "2.2.4"
val DEPENDENCY_VERSIONS = "0.29.0"
val DEPENDENCY_VERSIONS = "0.33.0"
val GIT_VERSION_TAG = "0.12.3"

val KOTLIN = Versions.KOTLIN
Expand Down
4 changes: 2 additions & 2 deletions cloudscrambles/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ plugins {
GIT_VERSION_TAG
KOTLIN_SERIALIZATION
GOOGLE_APPENGINE
KOTLESS
//KOTLESS
}

dependencies {
implementation(project(":tnoodle-server"))

implementation(KOTLESS_KTOR)
//implementation(KOTLESS_KTOR)
implementation(GOOGLE_CLOUD_STORAGE)
implementation(BATIK_TRANSCODER)
}
Expand Down

This file was deleted.

5 changes: 3 additions & 2 deletions proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-dontobfuscate
-dontoptimize

-dontnote kotlinx.serialization.SerializationKt
-dontnote kotlinx.serialization.AnnotationsKt

# cf. https://github.com/ktorio/ktor-samples/tree/master/other/proguard
-keep class org.worldcubeassociation.tnoodle.server.** { *; }
Expand All @@ -24,9 +24,10 @@
-keep class dorkbox.util.jna.** { *; }
-keep class dorkbox.systemTray.** { *; }

-keep,includedescriptorclasses class kotlinx.serialization.json.**$$serializer { *; }
-keep,includedescriptorclasses class org.worldcubeassociation.tnoodle.server.webscrambles.**$$serializer { *; }

-keepattributes *Annotation
-keepattributes *Annotation*
-keepattributes InnerClasses

-keepclasseswithmembers class org.worldcubeassociation.tnoodle.server.webscrambles.** {
Expand Down
4 changes: 2 additions & 2 deletions tnoodle-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import dependencies.Libraries.KTOR_SERVER_NETTY
import dependencies.Libraries.KTOR_SERVER_HOST_COMMON
import dependencies.Libraries.KTOR_SERVER_SERVLET
import dependencies.Libraries.LOGBACK_CLASSIC
import dependencies.Libraries.KOTLIN_SERIALIZATION_JVM
import dependencies.Libraries.KOTLIN_SERIALIZATION_JSON
import dependencies.Libraries.TNOODLE_SCRAMBLES

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
Expand All @@ -24,7 +24,7 @@ plugins {

dependencies {
api(KTOR_SERVER_NETTY)
api(KOTLIN_SERIALIZATION_JVM)
api(KOTLIN_SERIALIZATION_JSON)
api(KOTLIN_COROUTINES_CORE)
api(TNOODLE_SCRAMBLES)

Expand Down
Loading