Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

oldstuffs/configs

Repository files navigation

idea

master Release

How to Use

Maven

<builds>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-shade-plugin</artifactId>
      <version>3.2.4</version>
      <executions>
        <execution>
          <phase>package</phase>
          <goals>
            <goal>shade</goal>
          </goals>
          <configuration>
            <minimizeJar>true</minimizeJar>
            <createDependencyReducedPom>false</createDependencyReducedPom>
            <!-- Relocations(Optional)
            <relocations>
              <relocation>
                <pattern>io.github.portlek.configs</pattern>
                <shadedPattern>[YOUR_PLUGIN_PACKAGE].shade</shadedPattern>
              </relocation>
            </relocations>
            -->
          </configuration>
        </execution>
      </executions>
    </plugin>
  </plugins>
</builds>
<repositories>
  <repository>
    <id>jitpack</id>
    <url>https://jitpack.io/</url>
  </repository>
</repositories>
<dependencies>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-bukkit-gson-json</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-bukkit-hjson-json</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-bukkit-hocon</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-bukkit-jackson-json</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-bukkit-jackson-yaml</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-bukkit-snakeyaml</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-bukkit-simple-json</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-bukkit-transformers</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-gson-json</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-hjson-json</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-jackson-json</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-jackson-yaml</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-hocon</artifactId>
    <version>${version}</version>
  </dependency>
  <dependency>
    <groupId>com.github.portlek.configs</groupId>
    <artifactId>configs-simple-json</artifactId>
    <version>${version}</version>
  </dependency>
</dependencies>

Gradle

plugins {
    id "com.github.johnrengelman.shadow" version "7.0.0"
}
repositories {
    maven {
        url "https://jitpack.io"
    }
}
dependencies {
    implementation("com.github.portlek.configs:configs-bukkit-transfomers:${version}")
    implementation("com.github.portlek.configs:configs-bukkit-jackson-json:${version}")
    implementation("com.github.portlek.configs:configs-bukkit-jackson-yaml:${version}")
    implementation("com.github.portlek.configs:configs-bukkit-snakeyaml:${version}")
    implementation("com.github.portlek.configs:configs-bukkit-gson-json:${version}")
    implementation("com.github.portlek.configs:configs-bukkit-hjson-json:${version}")
    implementation("com.github.portlek.configs:configs-bukkit-hocon:${version}")
    implementation("com.github.portlek.configs:configs-bukkit-simple-json:${version}")
    implementation("com.github.portlek.configs:configs-gson-json:${version}")
    implementation("com.github.portlek.configs:configs-hjson-json:${version}")
    implementation("com.github.portlek.configs:configs-hocon:${version}")
    implementation("com.github.portlek.configs:configs-jackson-json:${version}")
    implementation("com.github.portlek.configs:configs-jackson-yaml:${version}")
    implementation("com.github.portlek.configs:configs-simple-json:${version}")
}

Supporters

Jetbrains