Skip to content

Commit

Permalink
release-1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
peh committed Aug 28, 2019
1 parent a782318 commit 52bd5eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {



version "1.0.2#"
version "1.0.4"
group "uberall"

repositories {
Expand Down
4 changes: 3 additions & 1 deletion src/main/groovy/uberall/Application.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ package uberall

import io.micronaut.runtime.Micronaut
import groovy.transform.CompileStatic
import uberall.model.slack.BotCommandFactory

@CompileStatic
class Application {
static void main(String[] args) {
BotCommandFactory.init()
Micronaut.run(Application)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BotCommandFactory {
}

static init() {
Reflections reflections = new Reflections("bamboohr.slack.bot.model.slack")
Reflections reflections = new Reflections("uberall.model.slack")
reflections.getSubTypesOf(BotCommand.class).each { cmd ->
BotCommand c = cmd.newInstance()
COMMANDS.add(c)
Expand Down

0 comments on commit 52bd5eb

Please sign in to comment.