Skip to content

Commit

Permalink
Add SLF4J-simple for JDA
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondIceNS committed Feb 7, 2018
1 parent 90fa7d0 commit a5f41df
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
24 changes: 17 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,29 @@ subprojects {
shadowJar {
classifier = null
dependencies {
// Kotlin Runtime
include(dependency("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"))

// Dependencies for JDA
include(dependency('net.dv8tion:JDA:3.3.1_286'))
include(dependency('com.squareup.okhttp3:okhttp:'))
include(dependency('com.squareup.okio:okio'))
include(dependency('com.neovisionaries:nv-websocket-client'))
include(dependency('org.json:json'))
include(dependency('org.slf4j:slf4j-api'))
include(dependency('org.slf4j:slf4j-simple'))

// Dependency for SnakeYAML
include(dependency(group: 'org.yaml', name: 'snakeyaml', version: '1.19'))

// Dependencies for PegDown
include(dependency(group: 'org.pegdown', name:'pegdown', version: '1.6.0'))
include(dependency(group: 'commons-lang', name:'commons-lang', version: '2.3'))
include(dependency(group: 'com.michaelwflaherty', name: 'cleverbotapi', version: '1.0.1'))
include(dependency('org.parboiled:parboiled-core'))
include(dependency('org.parboiled:parboiled-java'))
include(dependency('com.squareup.okhttp3:okhttp:'))
include(dependency('com.squareup.okio:okio'))
include(dependency('com.neovisionaries:nv-websocket-client'))
include(dependency('org.slf4j:slf4j-api'))
include(dependency('org.json:json'))

// Dependency for CleverbotAPI
include(dependency(group: 'com.michaelwflaherty', name: 'cleverbotapi', version: '1.0.1'))
}
}

}
3 changes: 1 addition & 2 deletions discordbridge-bukkit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ dependencies {
shadowJar {
dependencies {
include(project(':discordbridge-core'))
include(dependency("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"))
include(dependency('org.ow2.asm:asm'))
include(dependency('org.ow2.asm:asm-analysis'))
include(dependency('org.ow2.asm:asm-tree'))
Expand All @@ -26,4 +25,4 @@ build.dependsOn(shadowJar)

artifacts {
archives shadowJar
}
}
1 change: 1 addition & 0 deletions discordbridge-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
compile group: 'commons-lang', name:'commons-lang', version: '2.3'
compile group: 'com.michaelwflaherty', name: 'cleverbotapi', version: '1.0.1'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
}

shadowJar {
Expand Down
1 change: 0 additions & 1 deletion discordbridge-forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ processResources {
shadowJar {
include ':discordbridge-core'
dependencies {
include(dependency("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"))
}
}
build.dependsOn(shadowJar)
1 change: 0 additions & 1 deletion discordbridge-sponge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ dependencies {
shadowJar {
dependencies {
include(project(':discordbridge-core'))
include(dependency("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"))
include(dependency("net.sf.trove4j:trove4j:3.0.3"))
}
}
Expand Down

0 comments on commit a5f41df

Please sign in to comment.