shepherdviolet/thistle


No longer maintained, superseded by https://github.com/shepherdviolet/glacimon | 不再维护

Download


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"]]
        
        

Readme


Thistle 22.1.0 (No longer maintained)

Language grade: Java

  • No longer maintained, superseded by https://github.com/shepherdviolet/glacimon
  • 不再维护, 请用新项目: https://github.com/shepherdviolet/glacimon
  • Comprehensive Java common library (Java7+)
  • Github Home
  • Search in Maven Central
  • PGP Key
<br> <br>

Module 'thistle-common'

Depends

Core module of thistle

Data structure

Crypto utils

Reflect utils

Misc utils

<br>

Module 'thistle-crypto-plus'

Depends Depends

The module has more crypto features (depends on bouncy-castle)

Crypto utils

<br>

Module 'thistle-trace'

Depends Depends

The module for tracing

Tracing utils

<br> <br>

Import dependencies from maven repository


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>