biggest refactor ever...
- use kxs-ts-gen for TypeScript schemas
- update schema files, so they're tidier (no need for typescript-generator workarounds)
- version bumps (kotlin, gradle, tstl, factorio, kotest)
- improve kxs binary format (use okio)
- move schema files package ('events' wasn't needed)
- tidy up topic creation, naming. base it off classes, make util functions
This commit is contained in:
parent
db14865ca9
commit
3fff57d46d
82 changed files with 2545 additions and 1914 deletions
|
|
@ -12,7 +12,7 @@ object Versions {
|
|||
const val jvmTarget = "11"
|
||||
const val kotlinTarget = "1.6"
|
||||
|
||||
const val kotlin = "1.6.10"
|
||||
const val kotlin = "1.6.20"
|
||||
|
||||
const val gradleNodePlugin = "3.2.1"
|
||||
const val gradleDockerComposePlugin = "0.15.1"
|
||||
|
|
@ -22,7 +22,7 @@ object Versions {
|
|||
const val semver = "1.1.2"
|
||||
const val http4k = "4.19.1.0"
|
||||
|
||||
const val kotest = "5.1.0"
|
||||
const val kotest = "5.2.3"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ dependencyResolutionManagement {
|
|||
// repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
||||
|
||||
repositories {
|
||||
myMavenLocal()
|
||||
mavenCentral()
|
||||
jitpack()
|
||||
gradlePluginPortal()
|
||||
|
|
@ -31,6 +32,7 @@ dependencyResolutionManagement {
|
|||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
myMavenLocal()
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
jitpack()
|
||||
|
|
@ -39,6 +41,20 @@ dependencyResolutionManagement {
|
|||
|
||||
}
|
||||
|
||||
|
||||
fun RepositoryHandler.jitpack() {
|
||||
maven("https://jitpack.io")
|
||||
}
|
||||
|
||||
|
||||
fun RepositoryHandler.myMavenLocal(enabled: Boolean = true) {
|
||||
if (enabled) {
|
||||
logger.lifecycle("Maven local is enabled")
|
||||
mavenLocal {
|
||||
content {
|
||||
includeGroup("dev.adamko")
|
||||
includeGroup("dev.adamko.kxtsgen")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,11 +16,11 @@ object Versions {
|
|||
const val kotlinLang = "1.6"
|
||||
const val jvmTarget = "11"
|
||||
|
||||
const val node = "14.19.0"
|
||||
const val node = "14.19.1"
|
||||
|
||||
const val kotlinWrappers = "0.0.1-pre.300-kotlin-1.6.10"
|
||||
const val kotlinWrappers = "0.0.1-pre.330-kotlin-1.6.20"
|
||||
const val junit = "5.8.2"
|
||||
const val kotest = "5.1.0"
|
||||
const val kotest = "5.2.3"
|
||||
const val mockk = "1.12.1"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ tasks.withType<KotlinCompile>().configureEach {
|
|||
"-opt-in=kotlin.RequiresOptIn",
|
||||
"-opt-in=kotlin.ExperimentalStdlibApi",
|
||||
"-opt-in=kotlin.time.ExperimentalTime",
|
||||
// "-Xextended-compiler-checks",
|
||||
// "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
||||
// "-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue