move to correct package

This commit is contained in:
moehreag 2024-06-17 13:02:10 +02:00
parent 3b8c103ec1
commit 76daadaebe
10 changed files with 23 additions and 21 deletions

View file

@ -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")

View file

@ -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.*

View file

@ -1,4 +1,4 @@
package dev.frogmc
package dev.frogmc.meta
object Config {
val POSTGRES_DATABASE = getEnv("DATABASE", "frogmc")

View file

@ -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

View file

@ -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.*

View file

@ -1,4 +1,4 @@
package dev.frogmc.plugins
package dev.frogmc.meta.plugins
import io.ktor.http.*
import io.ktor.server.application.*

View file

@ -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.*

View file

@ -1,4 +1,4 @@
package dev.frogmc.plugins
package dev.frogmc.meta.plugins
import io.ktor.serialization.kotlinx.json.*
import io.ktor.server.application.*

View file

@ -1,4 +1,4 @@
package dev.frogmc.types
package dev.frogmc.meta.types
import kotlinx.datetime.LocalDateTime
import kotlinx.serialization.Serializable

View file

@ -1,4 +1,4 @@
package dev.frogmc.types
package dev.frogmc.meta.types
import kotlinx.serialization.json.Json
import org.jetbrains.exposed.sql.Table