JDA-Applications/Kotlin-JDA


A kotlin interface for JDA, providing extensions and convenience for kotlin based projects that want to interact with JDA

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.MinnDevelopment:Kotlin-JDA:v0.BETA.1'
	}
	dependencies {
		implementation("com.github.MinnDevelopment:Kotlin-JDA:v0.BETA.1")
	}
	<dependency>
	    <groupId>com.github.MinnDevelopment</groupId>
	    <artifactId>Kotlin-JDA</artifactId>
	    <version>v0.BETA.1</version>
	</dependency>

                            
    libraryDependencies += "com.github.MinnDevelopment" % "Kotlin-JDA" % "v0.BETA.1"
        
        

                            
    :dependencies [[com.github.MinnDevelopment/Kotlin-JDA "v0.BETA.1"]]
        
        

Readme


Kotlin-JDA

JDA: jda <br> Kotlin-JDA: jitpack

A kotlin interface for JDA, providing extensions and convenience for kotlin based projects that want to interact with JDA

Setup

Gradle

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

dependencies {
    compile 'net.dv8tion:JDA:3.0.0_156'
    compile 'com.github.JDA-Applications:Kotlin-JDA:master-SNAPSHOT'
}

Replace the JDA version if needed<br> Kotlin setup is up to you!

Maven

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
    <repository>
        <id>jcenter</id>
        <name>jcenter-bintray</name>
        <url>http://jcenter.bintray.com</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>com.github.JDA-Applications</groupId>
        <artifactId>Kotlin-JDA</artifactId>
        <version>master-SNAPSHOT</version>
    </dependency>
    <dependency>
        <groupId>net.dv8tion</groupId>
        <artifactId>JDA</artifactId>
        <version>3.0.0_156</version>
    </dependency>
</dependencies>

Replace the JDA version if needed<br> Kotlin setup is up to you!