Skip to content

Commit

Permalink
feat: update deps
Browse files Browse the repository at this point in the history
Signed-off-by: qwq233 <[email protected]>
  • Loading branch information
qwq233 committed Mar 25, 2022
1 parent f2716d0 commit 3b46930
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 14 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ plugins {
}

group = "top.qwq2333"
version = "1.0.2"
version = "1.0.4"

repositories {
mavenCentral()
Expand All @@ -41,7 +41,7 @@ val kotlinVersion = "1.6.20-M1"
dependencies {
implementation("com.charleskorn.kaml:kaml:_")
implementation("org.dom4j:dom4j:_")
implementation("com.vladsch.flexmark:flexmark-all:0.64.0")
implementation("com.vladsch.flexmark:flexmark-all:_")
implementation(Kotlin.stdlib.common)
implementation(Kotlin.stdlib)
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:_")
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/top/qwq2333/generate/XMLContent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ import java.text.SimpleDateFormat
import java.util.*

object XMLContent {
private var depth = 1
private var currentDepth = 1
private var order = 1
private var depth = 0
private var currentDepth = 0
private var order = 0
private val uuid = UUID.randomUUID()

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/top/qwq2333/util/FileUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ object FileUtils {
*/
fun convertInputStreamToString(inputStream: InputStream): String {
val bufferedReader = BufferedReader(InputStreamReader(inputStream))
var line: String? = ""
var line: String?
var result: String? = ""
while (bufferedReader.readLine().also { line = it } != null) {
result += line
Expand Down
34 changes: 26 additions & 8 deletions versions.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
#
# EPUB Generator
# Copyright (C) 2022 qwq233 [email protected]
# https://github.com/qwq233/epub-generator
#
# This software is non-free but opensource software: you can redistribute it
# and/or modify it under the terms of the GNU Affero General Public License
# as published by the Free Software Foundation; either
# version 3 of the License, or any later version and our eula as published
# by qwq233.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# and eula along with this software. If not, see
# <https://www.gnu.org/licenses/>
# <https://github.com/qwq233/qwq233/blob/master/eula.md>.
#

#### Dependencies and Plugin versions with their available updates.
#### Generated by `./gradlew refreshVersions` version 0.40.1
####
Expand All @@ -6,14 +28,10 @@
####
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file

version.com.charleskorn.kaml..kaml=0.42.0

version.es.nitaur.markdown..txtmark=0.16

version.com.charleskorn.kaml..kaml=0.43.0
## # available=0.43.0
version.com.vladsch.flexmark..flexmark-all=0.64.0
version.kotlin=1.6.20-M1
## # available=1.6.20-RC

version.me.tongfei..progressbar=0.9.3

## # available=1.6.20-RC2
version.org.dom4j..dom4j=2.1.3

0 comments on commit 3b46930

Please sign in to comment.