File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
- id ' org.jetbrains.kotlin.jvm' version ' 1.4.20 '
3
- id ' org.jetbrains.kotlin.plugin.serialization' version ' 1.4.20 '
2
+ id ' org.jetbrains.kotlin.jvm' version ' 1.5.0 '
3
+ id ' org.jetbrains.kotlin.plugin.serialization' version ' 1.5.0 '
4
4
}
5
5
6
6
group ' intro-coroutines'
@@ -15,7 +15,7 @@ dependencies {
15
15
implementation " org.jetbrains.kotlin:kotlin-reflect"
16
16
implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1" )
17
17
18
- def coroutines_version = ' 1.4.2 '
18
+ def coroutines_version = ' 1.5.0 '
19
19
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version "
20
20
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-swing:$coroutines_version "
21
21
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutines_version "
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ fun JPanel.addWideSeparator() {
145
145
146
146
fun setDefaultFontSize (size : Float ) {
147
147
for (key in UIManager .getLookAndFeelDefaults().keys.toTypedArray()) {
148
- if (key.toString().toLowerCase ().contains(" font" )) {
148
+ if (key.toString().lowercase ().contains(" font" )) {
149
149
val font = UIManager .getDefaults().getFont(key) ? : continue
150
150
val newFont = font.deriveFont(size)
151
151
UIManager .put(key, newFont)
You can’t perform that action at this time.
0 commit comments