Skip to content

Commit

Permalink
Merge pull request #36 from bitjourney/plantuml/v1.2018.8
Browse files Browse the repository at this point in the history
upgrade PlantUML to v1.2018.8
  • Loading branch information
gfx authored Jun 29, 2018
2 parents 43ca516 + f0faded commit cfff9ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ version '1.3.1'
final MainClassName = "${group}.Main"

// See http://plantuml.com/changes
final PlantUmlVersion = "1.2018.3"
final PlantUmlVersion = "1.2018.8"

final ArchiveName = "plantuml-service.jar"

buildscript {
ext.kotlin_version = '1.2.31'
ext.kotlin_version = '1.2.50'
repositories {
jcenter()
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 2 additions & 4 deletions src/main/kotlin/com/bitjourney/plantuml/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import com.github.benmanes.caffeine.cache.LoadingCache
import com.google.gson.JsonObject
import net.sourceforge.plantuml.Option
import net.sourceforge.plantuml.SourceStringReader
import net.sourceforge.plantuml.code.AsciiEncoder
import net.sourceforge.plantuml.code.CompressionZlib
import net.sourceforge.plantuml.code.TranscoderImpl
import net.sourceforge.plantuml.code.TranscoderSmart
import net.sourceforge.plantuml.cucadiagram.dot.GraphvizUtils
import org.slf4j.LoggerFactory
import spark.Filter
Expand Down Expand Up @@ -65,7 +63,7 @@ class Main {

val logger = LoggerFactory.getLogger(Main::class.java)

val transcoder = TranscoderImpl(AsciiEncoder(), CompressionZlib())
val transcoder = TranscoderSmart()

val versionJson: ByteArray = JsonObject().let { json ->
json.addProperty("PlantUML", javaClass.getPackage().specificationVersion)
Expand Down

0 comments on commit cfff9ff

Please sign in to comment.