move to correct package
This commit is contained in:
parent
3b8c103ec1
commit
76daadaebe
|
@ -14,7 +14,7 @@ group = "dev.frogmc"
|
|||
version = "0.0.1"
|
||||
|
||||
application {
|
||||
mainClass.set("dev.frogmc.ApplicationKt")
|
||||
mainClass.set("dev.frogmc.meta.ApplicationKt")
|
||||
|
||||
val isDevelopment: Boolean = project.ext.has("development")
|
||||
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package dev.frogmc
|
||||
package dev.frogmc.meta
|
||||
|
||||
import dev.frogmc.plugins.*
|
||||
import dev.frogmc.meta.plugins.configureHTTP
|
||||
import dev.frogmc.meta.plugins.configureRouting
|
||||
import dev.frogmc.meta.plugins.configureSerialization
|
||||
import io.ktor.server.application.*
|
||||
import io.ktor.server.engine.*
|
||||
import io.ktor.server.netty.*
|
|
@ -1,4 +1,4 @@
|
|||
package dev.frogmc
|
||||
package dev.frogmc.meta
|
||||
|
||||
object Config {
|
||||
val POSTGRES_DATABASE = getEnv("DATABASE", "frogmc")
|
|
@ -1,6 +1,8 @@
|
|||
package dev.frogmc
|
||||
package dev.frogmc.meta
|
||||
|
||||
import dev.frogmc.types.*
|
||||
import dev.frogmc.meta.types.LibraryVersion
|
||||
import dev.frogmc.meta.types.LibraryVersions
|
||||
import dev.frogmc.meta.types.LoaderVersions
|
||||
import org.jetbrains.exposed.sql.*
|
||||
import org.jetbrains.exposed.sql.transactions.transaction
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package dev.frogmc.plugins
|
||||
package dev.frogmc.meta.plugins
|
||||
|
||||
import dev.frogmc.Config
|
||||
import dev.frogmc.logger
|
||||
import dev.frogmc.meta.Config
|
||||
import dev.frogmc.meta.logger
|
||||
import io.ktor.http.*
|
||||
import io.ktor.server.application.*
|
||||
import io.ktor.server.response.*
|
|
@ -1,4 +1,4 @@
|
|||
package dev.frogmc.plugins
|
||||
package dev.frogmc.meta.plugins
|
||||
|
||||
import io.ktor.http.*
|
||||
import io.ktor.server.application.*
|
|
@ -1,21 +1,19 @@
|
|||
package dev.frogmc.plugins
|
||||
package dev.frogmc.meta.plugins
|
||||
|
||||
import dev.frogmc.DB
|
||||
import dev.frogmc.types.LoaderVersion
|
||||
import dev.frogmc.types.PartialLoaderVersion
|
||||
import dev.frogmc.types.LoaderVersions
|
||||
import dev.frogmc.types.ModrinthVersion
|
||||
import dev.frogmc.meta.DB
|
||||
import dev.frogmc.meta.types.LoaderVersion
|
||||
import dev.frogmc.meta.types.PartialLoaderVersion
|
||||
import dev.frogmc.meta.types.LoaderVersions
|
||||
import dev.frogmc.meta.types.ModrinthVersion
|
||||
import io.ktor.client.*
|
||||
import io.ktor.client.call.*
|
||||
import io.ktor.client.request.*
|
||||
import io.ktor.http.*
|
||||
import io.ktor.server.application.*
|
||||
import io.ktor.server.html.*
|
||||
import io.ktor.server.http.content.*
|
||||
import io.ktor.server.request.*
|
||||
import io.ktor.server.response.*
|
||||
import io.ktor.server.routing.*
|
||||
import kotlinx.html.*
|
||||
import kotlinx.serialization.json.Json
|
||||
import org.jetbrains.exposed.exceptions.ExposedSQLException
|
||||
import org.jetbrains.exposed.sql.*
|
|
@ -1,4 +1,4 @@
|
|||
package dev.frogmc.plugins
|
||||
package dev.frogmc.meta.plugins
|
||||
|
||||
import io.ktor.serialization.kotlinx.json.*
|
||||
import io.ktor.server.application.*
|
|
@ -1,4 +1,4 @@
|
|||
package dev.frogmc.types
|
||||
package dev.frogmc.meta.types
|
||||
|
||||
import kotlinx.datetime.LocalDateTime
|
||||
import kotlinx.serialization.Serializable
|
|
@ -1,4 +1,4 @@
|
|||
package dev.frogmc.types
|
||||
package dev.frogmc.meta.types
|
||||
|
||||
import kotlinx.serialization.json.Json
|
||||
import org.jetbrains.exposed.sql.Table
|
Loading…
Reference in a new issue