File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed
src/main/java/net/servicestack/idea Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <module external.linked.project.id=" ServiceStackIDEA" external.linked.project.path=" $MODULE_DIR$" external.root.project.path=" $MODULE_DIR$" external.system.id=" GRADLE" external.system.module.group=" " external.system.module.version=" unspecified" type =" JAVA_MODULE" version =" 4" >
3- <component name =" NewModuleRootManager" inherit-compiler-output =" false" >
2+ <module external.linked.project.id=" ServiceStackIDEA" external.linked.project.path=" $MODULE_DIR$" external.root.project.path=" $MODULE_DIR$" external.system.id=" GRADLE" external.system.module.group=" " external.system.module.version=" unspecified" type =" PLUGIN_MODULE" version =" 4" >
3+ <component name =" DevKit.ModuleBuildProperties" url =" file://$MODULE_DIR$/src/main/resources/META-INF/plugin.xml" />
4+ <component name =" NewModuleRootManager" LANGUAGE_LEVEL =" JDK_1_8" >
45 <output url =" file://$MODULE_DIR$/build/classes/main" />
56 <output-test url =" file://$MODULE_DIR$/build/classes/test" />
67 <exclude-output />
Original file line number Diff line number Diff line change 11plugins {
2- id " org.jetbrains.intellij" version " 0.4.15"
2+ id " org.jetbrains.intellij" version " 0.6.5"
3+ }
4+ version = ' 1.0.41'
5+ repositories {
6+ mavenCentral()
37}
4- version = ' 1.0.40'
5-
68apply plugin : ' org.jetbrains.intellij'
79dependencies {
810
911}
10- Properties properties = System . properties;
12+ Properties properties = System . properties
1113if (System . env. BUILD_NUMBER != null && System . env. SERVICESTACKIDEA_PUBLISH_NIGHTLY != null ) {
1214 // Append build number to version for a new nightly build version to be published.
1315 version = " ${ version} .$System . env . BUILD_NUMBER "
1416}
1517
16- String jbToken;
18+ String jbToken
1719
1820if (properties. getProperty(" jetbrains.plugins.user" , null ) == null ) {
1921 properties. load(project. file(' ./local.properties' ). newDataInputStream())
2022}
21- jbToken = properties. getProperty(" jetbrains.plugins.token" );
23+ jbToken = properties. getProperty(" jetbrains.plugins.token" )
2224
2325intellij {
24- version ' IC-14.1.4 '
25- plugins ' maven'
26+ version ' 2019.2 '
27+ plugins = [ ' maven' , ' java ' ]
2628 pluginName ' ServiceStackIDEA'
2729 updateSinceUntilBuild false
2830
Original file line number Diff line number Diff line change 22
33import com .intellij .openapi .components .*;
44import com .intellij .util .xmlb .XmlSerializerUtil ;
5+ import org .jetbrains .annotations .NotNull ;
56import org .jetbrains .annotations .Nullable ;
67
78/**
89 * Created by Layoric on 27/05/2016.
910 */
10- @ State (name = "PluginSettingsService" , storages = @ Storage (id = "default" , file = StoragePathMacros . APP_CONFIG + "/ servicestack-settings.xml" ))
11+ @ State (name = "PluginSettingsService" , storages = @ Storage (" servicestack-settings.xml" ))
1112public class PluginSettingsService implements PersistentStateComponent <PluginSettingsService > {
1213 public Boolean optOutOfStats = false ;
1314
@@ -18,7 +19,7 @@ public PluginSettingsService getState() {
1819 }
1920
2021 @ Override
21- public void loadState (PluginSettingsService pluginSettingsService ) {
22+ public void loadState (@ NotNull PluginSettingsService pluginSettingsService ) {
2223 XmlSerializerUtil .copyBean (pluginSettingsService , this );
2324 }
2425
You can’t perform that action at this time.
0 commit comments