Skip to content

Commit

Permalink
Prepares for the 2020.1 IDEA release
Browse files Browse the repository at this point in the history
  • Loading branch information
lukbukkit committed Apr 7, 2020
1 parent 8b37d48 commit 0bdac35
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions DiscordBeam/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies {
}

intellij {
// Comment the line below to test with IntelliJ 2019.3
// Comment the line below to test with the latest snapshot
// version 'LATEST-EAP-SNAPSHOT'
updateSinceUntilBuild false
pluginName 'DiscordBeam'
Expand All @@ -15,6 +15,6 @@ intellij {

patchPluginXml {
changeNotes """
1.05: Update for 2020.1
1.05: Prepares for IDEA version 2020.1
"""
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static void installOn(Disposable disposable, JTextComponent textComponent
WebhookValidator validator = new WebhookValidator(textComponent);

new ComponentValidator(disposable)
.withValidator(v -> v.updateInfo(validator.validate()))
.withValidator(validator::validate)
.andStartOnFocusLost()
.installOn(textComponent);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ static HastebinServiceStatus works() {
return HastebinServiceStatus.OUTDATED;
}
} catch (ClassNotFoundException ex) {
ex.printStackTrace();
return HastebinServiceStatus.NOT_INSTALLED;
}
}
Expand Down
2 changes: 1 addition & 1 deletion DiscordBeam/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
]]></description>

<!-- Full list of IntelliJ IDEA releases: https://www.jetbrains.com/intellij-repository/releases -->
<idea-version since-build="193.4099"/>
<idea-version since-build="201"/>

<!-- Depends tag for compatibility wih all products:
http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html -->
Expand Down
10 changes: 5 additions & 5 deletions HasteIt/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version '1.12'
version '1.13'

intellij {
// Comment the line below to test with the latest snapshot
// version 'LATEST-EAP-SNAPSHOT'
pluginName 'HasteIt'
}

Expand All @@ -10,8 +12,6 @@ dependencies {

patchPluginXml {
changeNotes """
<ul>
<li>HasteIt now works with <a href="https://plugins.jetbrains.com/plugin/12804-discordbeam">DiscordBeam</a></li>
</ul>
1.13: Prepares for IDEA version 2020.1
"""
}
}
2 changes: 1 addition & 1 deletion HasteIt/src/main/java/de/lukweb/hasteit/HasteUploader.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void upload(String content, String extension, HasteResult result) {
in.close();

// Get the id of the haste
JsonElement json = new JsonParser().parse(response.toString());
JsonElement json = JsonParser.parseString(response.toString());
if (!json.isJsonObject()) {
throw new IOException("Can't parse JSON");
}
Expand Down
4 changes: 2 additions & 2 deletions HasteIt/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]]></description>

<!-- Full list of IntelliJ IDEA releases: https://www.jetbrains.com/intellij-repository/releases -->
<idea-version since-build="183.4284.148"/>
<idea-version since-build="201"/>

<!-- Depends tag for compatibility wih all products:
http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html -->
Expand All @@ -31,4 +31,4 @@
</action>
</actions>

</idea-plugin>
</idea-plugin>
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ subprojects {
// https://www.jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html
// Full list of IntelliJ IDEA releases: https://www.jetbrains.com/intellij-repository/releases
// Full list of IntelliJ IDEA snapshots: https://www.jetbrains.com/intellij-repository/snapshots/
version '2019.3'
version '201-EAP-SNAPSHOT'
// Disables updating until-build attribute in plugin.xml
updateSinceUntilBuild false
}
Expand Down

0 comments on commit 0bdac35

Please sign in to comment.