A microservice framework built on ktor.
- Test everything
./gradlew ktfmtFormat check test
- Publish to your local maven repository for testing locally in another project.
./gradlew clean publishToMavenLocal
- Publish
./gradlew publish
- Format code
./gradlew ktfmtFormat
The ktp-gradle-plugins composite child project builds a Gradle plugin Jar with two plugins.
Plugin ID: com.github.lukelast.ktor-plus
This is a normal Gradle plugin and configures a project to follow the KTP Framework conventions.
This is for utility code that has minimal dependencies.
Manage all the configuration settings of your application.
Library for Ktor.
KTP libraries and Gradle plugins are available via JitPack:
https://jitpack.io/#lukelast/ktor-plus
// In your build.gradle.kts
dependencies {
implementation("com.github.lukelast.ktor-plus:ktp-ktor:VERSION")
}// In your settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
// In your build.gradle.kts
plugins { id("com.github.lukelast.ktor-plus") version "VERSION" }Releases and versioning happen automatically for each commit to the main branch.
./gradlew wrapper --gradle-version latest