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.shepherdviolet:thistle:22.1.0'
}
dependencies {
implementation("com.github.shepherdviolet:thistle:22.1.0")
}
<dependency>
<groupId>com.github.shepherdviolet</groupId>
<artifactId>thistle</artifactId>
<version>22.1.0</version>
</dependency>
libraryDependencies += "com.github.shepherdviolet" % "thistle" % "22.1.0"
:dependencies [[com.github.shepherdviolet/thistle "22.1.0"]]
No longer maintained, superseded by https://github.com/shepherdviolet/glacimon
不再维护, 请用新项目: https://github.com/shepherdviolet/glacimon
Core module of thistle
The module has more crypto features (depends on bouncy-castle)
The module for tracing
thistle-common
in Maven Centralthistle-crypto-plus
in Maven Centralthistle-trace
in Maven Central
repositories {
//Thistle in mavenCentral
mavenCentral()
}
dependencies {
compile 'com.github.shepherdviolet:thistle-common:?'
compile 'com.github.shepherdviolet:thistle-crypto-plus:?'
compile 'com.github.shepherdviolet:thistle-trace:?'
}
<dependency>
<groupId>com.github.shepherdviolet</groupId>
<artifactId>thistle-common</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet</groupId>
<artifactId>thistle-crypto-plus</artifactId>
<version>?</version>
</dependency>
<dependency>
<groupId>com.github.shepherdviolet</groupId>
<artifactId>thistle-trace</artifactId>
<version>?</version>
</dependency>