jda

fun Project.jda(config: DependencyConfig, block: ExternalModuleDependency.() -> Unit = {}): List<ExternalModuleDependency>
  1. Adds the Repository.MAVEN_CENTRAL repository

  2. Adds the dependency to the provided JDA version

Parameters

config

The configuration for the JDA dependency