ClubObsidian/trident


A dead simpile annotation-based event bus that allows different event executor implementations.

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.clubobsidian:trident:3.0.0'
	}
	dependencies {
		implementation("com.github.clubobsidian:trident:3.0.0")
	}
	<dependency>
	    <groupId>com.github.clubobsidian</groupId>
	    <artifactId>trident</artifactId>
	    <version>3.0.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.clubobsidian" % "trident" % "3.0.0"
        
        

                            
    :dependencies [[com.github.clubobsidian/trident "3.0.0"]]
        
        

Readme


Trident

build build artifacts codecov Known Vulnerabilities License Discord javadocs

A dead simpile annotation-based event bus that allows different event executor implementations.

Trident implements reflection and generated Javassist method executors.

Inspiration

Inspiration for Trident.

Build Artifacts

Build artifacts are hosted via Jitpack.

Setting up as a dependency

Gradle

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

compile 'com.github.clubobsidian:trident:3.0.0'

Maven

<repositories>
	<repository>
		<id>jitpack.io</id>
		<url>https://jitpack.io</url>
	</repository>
</repositories>

<dependency>
	<groupId>com.github.clubobsidian</groupId>
	<artifactId>trident</artifactId>
	<version>3.0.0</version>
</dependency>

Dependencies

Development

Eclipse

  1. Git clone the project
  2. Generate eclipse files with gradlew eclipse
  3. Import project

Intellij

  1. Git clone the project
  2. Generate intellij files with gradlew idea
  3. Import project

Building

gradlew shadowJar

Projects that use Trident

Do you use Trident in your project? If so make a pull request and add your repository to the list!