Skip to content

Commit

Permalink
Bump the library
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbrooks committed Jul 27, 2024
1 parent 1460ad7 commit dabca95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion vgo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ val r8: Configuration by configurations.creating

dependencies {
implementation(project(":vgo-core"))
implementation("com.android.tools:sdk-common:30.2.2")
implementation("com.android.tools:sdk-common:31.5.1")

testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.28.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.3")
Expand Down Expand Up @@ -57,7 +57,9 @@ tasks {
"META-INF/DEPENDENCIES",
"META-INF/AL2.0",
"META-INF/BCKEY.DSA",
"META-INF/BC2048KE.DSA",
"META-INF/BCKEY.SF",
"META-INF/BC2048KE.SF",
"**/NOTICE*",
"javax/activation/**",
"xsd/catalog.xml",
Expand Down
6 changes: 3 additions & 3 deletions vgo/src/main/kotlin/com/jzbrooks/vgo/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ class Application {
if (inputs.isEmpty()) {
require(outputs.isEmpty())

var path = readLine()
var path = readlnOrNull()
val standardInPaths = mutableListOf<String>()
while (path != null) {
standardInPaths.add(path)
path = readLine()
path = readlnOrNull()
}

inputs = standardInPaths
Expand Down Expand Up @@ -150,7 +150,7 @@ class Application {
rootNodes.any { it.nodeName == "svg" || input.extension == "svg" } -> {
if (outputFormat == "vd") {
ByteArrayOutputStream().use { pipeOrigin ->
val errors = Svg2Vector.parseSvgToXml(input, pipeOrigin)
val errors = Svg2Vector.parseSvgToXml(input.toPath(), pipeOrigin)
if (errors != "") {
System.err.println(errors)
// return
Expand Down

0 comments on commit dabca95

Please sign in to comment.