Fikset kjøring
This commit is contained in:
parent
dd214c8ff9
commit
036138bb19
@ -1,6 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("java")
|
id("java")
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
|
kotlin("plugin.spring") version "1.5.31"
|
||||||
id("org.springframework.boot") version "2.5.5"
|
id("org.springframework.boot") version "2.5.5"
|
||||||
id("io.spring.dependency-management") version "1.0.11.RELEASE"
|
id("io.spring.dependency-management") version "1.0.11.RELEASE"
|
||||||
}
|
}
|
||||||
@ -25,8 +26,8 @@ dependencies {
|
|||||||
/*Spring boot*/
|
/*Spring boot*/
|
||||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||||
implementation("org.springframework.boot:spring-boot-starter:2.7.0")
|
implementation("org.springframework.boot:spring-boot-starter:2.7.0")
|
||||||
implementation("org.springframework.kafka:spring-kafka:3.0.1")
|
// implementation("org.springframework.kafka:spring-kafka:3.0.1")
|
||||||
// implementation("org.springframework.kafka:spring-kafka:2.8.5")
|
implementation("org.springframework.kafka:spring-kafka:2.8.5")
|
||||||
implementation("org.springframework.boot:spring-boot-starter-websocket:2.6.3")
|
implementation("org.springframework.boot:spring-boot-starter-websocket:2.6.3")
|
||||||
|
|
||||||
implementation("io.github.microutils:kotlin-logging-jvm:2.0.11")
|
implementation("io.github.microutils:kotlin-logging-jvm:2.0.11")
|
||||||
|
|||||||
@ -26,8 +26,8 @@ fun getContext(): ApplicationContext? {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun main(args: Array<String>) {
|
fun main(args: Array<String>) {
|
||||||
/*val dataSource = MySqlDataSource.fromDatabaseEnv();
|
// val dataSource = MySqlDataSource.fromDatabaseEnv();
|
||||||
Coroutines.default().launch {
|
/*Coroutines.default().launch {
|
||||||
dataSource.createDatabase()
|
dataSource.createDatabase()
|
||||||
dataSource.createTables(
|
dataSource.createTables(
|
||||||
events
|
events
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user