📗
Wiki
  • WIKI
  • Plugins
    • InfoHeads
      • Installation
      • FAQ
      • Using the Wizard
    • MailMe
      • Updating to MailMe Rewrite
      • FAQ
      • Setup
      • Tutorials
        • Niche
        • MailPresets
      • API
        • Setup
        • Interacting with the Database
  • Libraries
    • ProtectionAPI
      • Introduction
      • Getting Started
      • Tutorials
        • Creating a UniversalRegion
        • Collision Detection
      • Change Log
    • HexiTextLib
      • Introduction
      • Setup
        • Gradle
        • Maven
      • Using HexResolver
      • Using FontResolver
      • Change Log
Powered by GitBook
On this page

Was this helpful?

  1. Libraries
  2. HexiTextLib
  3. Setup

Gradle

Gradle setup tutorial

To start, you need to add the repository to your build.gradle.

repositories {
			...
			maven { url 'https://jitpack.io' }
		}

In order to include the framework in your project, you need to add shadowJar plugin build.gradle. Replace [YOUR PACKAGE] with your plugin's package, for example me.myplugin.plugin.

apply plugin: 'com.github.johnrengelman.shadow'

shadowJar {
   relocate 'com.haroldstudios.hexitextlib', '[YOU PACKAGE].hexitextlib'
}
PreviousSetupNextMaven

Last updated 4 years ago

Was this helpful?