Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
forked from Slimefun/dough

Library containing a lot of useful utility classes for the everyday Java and Spigot/Paper developer.

License

Notifications You must be signed in to change notification settings

MTheDemon/dough

Open more actions menu
 
 

Repository files navigation

🥯 Dough


Build Status javadocs Maven Central Code Coverage Maintainability


Formerly known as "cs-corelib2", dough is a very powerful library aiming to help the everyday Spigot/Plugin developer. It is packed to the brim with useful features and APIs to use and play around with.

Dough may be more commonly known as the backbone of Slimefun.

🔍 Getting Started

Dough is hosted on maven-central (OSS Sonatype) for easy access. Furthermore, it consists of multiple different submodules.

If you want to utilise the entirety of dough, use the artifact dough-api.
Otherwise replace dough-api in the following examples with whatever module you want to import. Note that some modules have dependencies on other modules, all modules require dough-common as an example.

Adding dough via gradle

Dough can easily be included in gradle using mavenCentral.
Simply replace [DOUGH VERSION] with the most up to date version of dough: Maven Central

repositories {
	mavenCentral()
}

dependencies {
	implementation 'io.github.baked-libs:dough-api:[DOUGH VERSION]'
}

To shadow dough and relocate it:

plugins {
  id "com.github.johnrengelman.shadow" version "7.0.0"
}

shadowJar {
   relocate "io.github.bakedlibs.dough", "[YOUR PACKAGE].dough"
}

Adding dough via Maven

Dough can easily be included be added using maven-central.
Simply replace [DOUGH VERSION] with the most up to date version of dough: Maven Central

<dependencies>
  <dependency>
    <groupId>io.github.baked-libs</groupId>
    <artifactId>dough-api</artifactId>
    <version>[DOUGH VERSION]</version>
    <scope>compile</scope>
  </dependency>
</dependencies>

To shadow dough and relocate it:

<build>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-shade-plugin</artifactId>
      <version>3.2.4</version>

      <configuration>
        <relocations>
          <relocation>
            <pattern>io.github.bakedlibs.dough</pattern>
            <shadedPattern>[YOUR PACKAGE].dough</shadedPattern>
          </relocation>
        </relocations>
      </configuration>

      <executions>
        <execution>
          <phase>package</phase>
          <goals>
            <goal>shade</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>

About

Library containing a lot of useful utility classes for the everyday Java and Spigot/Paper developer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.