Skip to content

Commit 477dd3e

Browse files
Bump dependencies, remove preview feature flag.
1 parent d3c25ab commit 477dd3e

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ dependencies {
2626

2727
implementation 'commons-cli:commons-cli:1.9.0'
2828

29-
implementation 'org.codehaus.groovy:groovy-jsr223:3.0.22'
29+
implementation 'org.codehaus.groovy:groovy-jsr223:3.0.24'
3030
implementation 'org.jetbrains.kotlin:kotlin-scripting-jsr223:1.9.25'
31-
implementation 'org.jruby:jruby-core:9.4.8.0'
31+
implementation 'org.jruby:jruby-core:9.4.12.0'
3232

33-
def log4jVersion = '2.24.1'
33+
def log4jVersion = '2.24.3'
3434
implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}"
3535
implementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
3636
implementation "org.apache.logging.log4j:log4j-jcl:${log4jVersion}"

src/main/java/com/structurizr/cli/AbstractCommand.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ protected Workspace loadWorkspace(String workspacePathAsString) throws Exception
7676

7777
} else {
7878
StructurizrDslParser structurizrDslParser = new StructurizrDslParser();
79-
structurizrDslParser.getFeatures().configure(Features.ARCHETYPES, Configuration.PREVIEW_FEATURES);
8079
structurizrDslParser.setCharacterEncoding(Charset.defaultCharset());
8180

8281
if (workspacePathAsString.startsWith("http://") || workspacePathAsString.startsWith("https://")) {

src/main/java/com/structurizr/cli/export/ExportCommand.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@ public void run(String... args) throws Exception {
123123
outputDir.mkdirs();
124124

125125
if (STATIC_FORMAT.equals(format)) {
126-
if (!Configuration.PREVIEW_FEATURES) {
127-
throw new RuntimeException("Static site export is not available in this build - see https://docs.structurizr.com/cli for details of how to gain early access to new features");
128-
}
129-
130126
log.info(" - writing static site to " + outputDir.getAbsolutePath());
131127
unzip(getClass().getResourceAsStream("/static.zip"), outputPath);
132128

0 commit comments

Comments
 (0)