Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.btk5h:skript-mirror:1.0.0'
}
dependencies {
implementation("com.github.btk5h:skript-mirror:1.0.0")
}
<dependency>
<groupId>com.github.btk5h</groupId>
<artifactId>skript-mirror</artifactId>
<version>1.0.0</version>
</dependency>
libraryDependencies += "com.github.btk5h" % "skript-mirror" % "1.0.0"
:dependencies [[com.github.btk5h/skript-mirror "1.0.0"]]
skript-mirror is a robust reflection addon for advanced scripters. It aims to combine the capabilities of Java with the easy-to-use development environment of Skript.
skript-mirror 1.x is currently being maintained at the 1.x branch.
If you were given a script or a code snippet that requires skript-mirror, the answer is: absolutely!
If you're looking to add skript-mirror to your scripting toolbox, it is highly recommended that you familiarize yourself with the basics of Java or another object-oriented programming language.
Are you considering writing an addon for Skript? Consider implementing your features in skript-mirror instead! skript-mirror offers several advantages over a traditional Skript addon:
sk reload
.