Skip to content

Commit f58d99a

Browse files
committed
Merge branch 'no-jcenter'
2 parents 4411084 + 47f04db commit f58d99a

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Koncorda
22

3-
![Bintray](https://img.shields.io/bintray/v/yttrian/koncorda/koncorda?label=koncorda)
4-
![Bintray (latest)](https://img.shields.io/bintray/dt/yttrian/koncorda/koncorda)
3+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/yttrian/koncorda)
4+
![GitHub Sponsors](https://img.shields.io/github/sponsors/yttrian)
55

66
A small DSL for quickly creating a command bot with [JDA](https://github.com/DV8FromTheWorld/JDA).
77
Inspired by the simplicity [Ktor](https://github.com/ktorio/ktor).
88

99
# Installation
1010

11-
Add the JCenter repository, the latest Koncorda release, JDA, and an SLF4J implementation to your `build.gradle.kts`.
11+
Add the Maven Central, Jitpack and dv8tion repositories, the latest Koncorda release, JDA, and an SLF4J implementation
12+
to your `build.gradle.kts`.
1213

1314
While Koncorda is intended to be somewhat opinionated, you are free to chose your SLF4J implementation.
1415
Logback is recommended for the sole reason that it's what the Ktor project generator suggests.
@@ -18,15 +19,18 @@ without needing Koncorda to be updated as well. As well as being able to chose t
1819

1920
```kotlin
2021
repositories {
21-
jcenter()
22+
mavenCentral()
23+
maven("https://m2.dv8tion.net/releases")
24+
maven("https://jitpack.io")
2225
}
23-
26+
```
27+
```kotlin
2428
dependencies {
2529
implementation("ch.qos.logback:logback-classic:1.2.3")
26-
implementation("net.dv8tion:JDA:4.2.0_227") {
30+
implementation("net.dv8tion:JDA:4.2.1_253") {
2731
exclude(module = "opus-java") // optional, for if you don't plan to use voice chat
2832
}
29-
implementation("org.yttr:koncorda:0.2.3")
33+
implementation("com.github.yttrian:koncorda:0.3.0")
3034
}
3135
```
3236

build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
22

33
group = "org.yttr"
4-
version = "0.2.3"
4+
version = "0.3.0"
55

66
plugins {
77
id("tanvd.kosogor") version "1.0.10" apply true
8-
id("io.gitlab.arturbosch.detekt") version "1.15.0" apply true
8+
id("io.gitlab.arturbosch.detekt") version "1.17.0" apply true
99
kotlin("jvm") version "1.4.30" apply false
1010
}
1111

@@ -17,7 +17,8 @@ subprojects {
1717
}
1818

1919
repositories {
20-
jcenter()
20+
mavenCentral()
21+
maven("https://m2.dv8tion.net/releases")
2122
}
2223

2324
tasks.withType<KotlinCompile>() {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# suppress inspection "UnusedProperty" for whole file
22
kotlin.code.style=official
3-
jdaVersion=4.2.0_227
3+
jdaVersion=4.2.1_253
44
hoconVersion=1.4.1
55
coroutinesVersion=1.4.2
66
logbackVersion=1.2.3

0 commit comments

Comments
 (0)