Commit 63f3d1cd authored by Iaroslav Postovalov's avatar Iaroslav Postovalov 💻
Browse files

Make AdditionalJsonConfiguration.jsonConfigFile open

parent b3efa28b
Loading
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -7,11 +7,6 @@
    <inspection_tool class="MemberVisibilityCanBePrivate" enabled="false" level="INFO" enabled_by_default="false" />
    <inspection_tool class="PropertyName" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
    <inspection_tool class="RedundantVisibilityModifier" enabled="false" level="WARNING" enabled_by_default="false" />
    <inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="true">
      <option name="processCode" value="true" />
      <option name="processLiterals" value="true" />
      <option name="processComments" value="true" />
    </inspection_tool>
    <inspection_tool class="UnusedProperty" enabled="false" level="WARNING" enabled_by_default="false" />
    <inspection_tool class="UnusedSymbol" enabled="false" level="WARNING" enabled_by_default="false" />
    <inspection_tool class="YAMLSchemaValidation" enabled="false" level="WARNING" enabled_by_default="false" />
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ Versatile and useful plugin utilities for your Spigot plugins in Kotlin:
## Runtime

Download the
[API runtime](https://gitlab.com/CMDR_Tvis/plugin-api/-/jobs/artifacts/master/raw/runtime/build/libs/plugin-api-13.1.4-all.jar?job=publish-runtime)
[API runtime](https://gitlab.com/CMDR_Tvis/plugin-api/-/jobs/artifacts/master/raw/runtime/build/libs/plugin-api-13.1.5-all.jar?job=publish-runtime)
and put into your `/plugins/` folder with all depending on API plugins. 

## Including
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ public abstract class AdditionalJsonConfiguration<C : Any> public constructor(
     */
    private val lazyJsonConfig = LazyJsonConfigurationValue<C, AdditionalJsonConfiguration<C>>()

    public final override val jsonConfigFile: File
    public override val jsonConfigFile: File
        get() = File(
            plugin.dataFolder.apply {
                if (!exists())
+1 −1
Original line number Diff line number Diff line
@@ -5,6 +5,6 @@ kotlinApiVersion=1.3
kotlinJvmTarget=1.8
kotlinLanguageVersion=1.3
kotlinVersion=1.3.50
pluginApiVersion=13.1.4
pluginApiVersion=13.1.5
shadowVersion=5.1.0
spigotApiVersion=1.14.4-R0.1-SNAPSHOT