Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

Ezlib

Welcome to Ezlib wiki, here you will find information about the use of this lightweight library.

Introduction

Ezib is a library created to provide an easy way to load dependencies of Java projects at runtime, including support for package relocation.

Requirements

  • MinimumJava 8

Dependency

version

Ezlib it's completely shadeable in your project.

So you can copy theEzlib class or add it as implementación.

  • build.gradle
  • build.gradle.kts
  • pom.xml
plugins{
id'com.github.johnrengelman.shadow' version'8.1.1'
}

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

// Use only ezlib
dependencies{
implementation'com.saicone.ezlib:ezlib:VERSION'
}

// Use ezlib loader instead
dependencies{
implementation'com.saicone.ezlib:loader:VERSION'
// Use annotations
compileOnly'com.saicone.ezlib:annotations:VERSION'
annotationProcessor'com.saicone.ezlib:annotations:VERSION'
}

jar.dependsOn(shadowJar)

shadowJar{
relocate'com.saicone.ezlib', project.group+'.ezlib'
}

[8]ページ先頭

©2009-2025 Movatter.jp