Skip to content

Commit

Permalink
Merge pull request #187 from ZenUml/fix-settings-not-saved-zen-277
Browse files Browse the repository at this point in the history
Fix settings not saved zen 277
  • Loading branch information
MrCoder authored Nov 7, 2021
2 parents 8320514 + 69914c4 commit ab721fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
17 changes: 5 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,21 @@ plugins {
buildSearchableOptions.enabled = false
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/jetbrains/markdown' }
flatDir { dirs 'lib' }
}

dependencies {
// https://mvnrepository.com/artifact/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer
compile group: 'com.googlecode.owasp-java-html-sanitizer', name: 'owasp-java-html-sanitizer'
// compile "org.jetbrains:markdown:${markdownParserVersion}"
compile "org.jetbrains.kotlin:kotlin-reflect:1.4.21"
compile "org.jetbrains.kotlin:kotlin-stdlib:1.4.21"
compile "io.reactivex.rxjava2:rxjava:2.2.9"
compile 'org.jetbrains.kotlin:kotlin-reflect:1.5.31'
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.5.31'
compile 'io.reactivex.rxjava2:rxjava:2.2.21'

testCompile group: 'junit', name: 'junit', version: '4.12'
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7"
testImplementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31'
}

sourceCompatibility = javaVersion
targetCompatibility = javaVersion

compileKotlin {
kotlinOptions.jvmTarget = javaVersion
kotlinOptions.apiVersion = "1.4"
Expand Down Expand Up @@ -55,16 +51,13 @@ sourceSets {
}

intellij {
version = 'IC-2021.2'
version = 'IC-2021.2.3'
pluginName = 'zenuml'
downloadSources = false
updateSinceUntilBuild = false
plugins = ['IntelliLang', 'java']
}

//buildSearchableOptions {
// jbrVersion '11_0_2b159'
//}

idea {
project {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class MarkdownSettingsConfigurable implements SearchableConfigurable {
@Nullable
private MarkdownSettingsForm myForm = null;
@NotNull
private final ZenUmlApplicationSettings myZenUmlApplicationSettings = new ZenUmlApplicationSettings();
private final ZenUmlApplicationSettings myZenUmlApplicationSettings = ZenUmlApplicationSettings.getInstance();

@NotNull
@Override
Expand Down

0 comments on commit ab721fa

Please sign in to comment.