Ratpack kotlin dsl library


License

License

Categories

Categories

Kotlin Languages Ratpack User Interface Web Frameworks
GroupId

GroupId

me.drmaas
ArtifactId

ArtifactId

ratpack-kotlin-coroutines
Last Version

Last Version

1.10.0
Release Date

Release Date

Type

Type

jar
Description

Description

Ratpack kotlin dsl library
Ratpack kotlin dsl library
Project URL

Project URL

https://github.com/drmaas/ratpack-kotlin
Source Code Management

Source Code Management

https://github.com/drmaas/ratpack-kotlin

Download ratpack-kotlin-coroutines

How to add to project

<!-- https://jarcasting.com/artifacts/me.drmaas/ratpack-kotlin-coroutines/ -->
<dependency>
    <groupId>me.drmaas</groupId>
    <artifactId>ratpack-kotlin-coroutines</artifactId>
    <version>1.10.0</version>
</dependency>
// https://jarcasting.com/artifacts/me.drmaas/ratpack-kotlin-coroutines/
implementation 'me.drmaas:ratpack-kotlin-coroutines:1.10.0'
// https://jarcasting.com/artifacts/me.drmaas/ratpack-kotlin-coroutines/
implementation ("me.drmaas:ratpack-kotlin-coroutines:1.10.0")
'me.drmaas:ratpack-kotlin-coroutines:jar:1.10.0'
<dependency org="me.drmaas" name="ratpack-kotlin-coroutines" rev="1.10.0">
  <artifact name="ratpack-kotlin-coroutines" type="jar" />
</dependency>
@Grapes(
@Grab(group='me.drmaas', module='ratpack-kotlin-coroutines', version='1.10.0')
)
libraryDependencies += "me.drmaas" % "ratpack-kotlin-coroutines" % "1.10.0"
[me.drmaas/ratpack-kotlin-coroutines "1.10.0"]

Dependencies

compile (3)

Group / Artifact Type Version
me.drmaas : ratpack-kotlin-dsl jar 1.10.0
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.3.3
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.41

test (4)

Group / Artifact Type Version
me.drmaas : ratpack-kotlin-test jar 1.10.0
ch.qos.logback : logback-classic jar 1.2.3
io.kotlintest : kotlintest-runner-junit5 jar 3.4.2
io.kotlintest : kotlintest-assertions jar 3.4.2

Project Modules

There are no modules declared in this project.

ratpack-kotlin

Build Status

forthebadge

Overview

Build fluent kotlin ratpack applications. Features:

  • Server, Bindings, Chain, and Handler DSL

  • RxJava extension functions

  • RxJava2 extension functions

  • Reactor extension functions

  • Coroutine functions

  • Kotlin test harnessing support: KotlinEmbeddedApp, kotlinApplicationUnderTest(…​) and friends

Usage

  • Gradle plugin (kotlin syntax)

plugins {
  id("me.drmaas.ratpack-kotlin") version "x.y.z"
}

src/ratpack/ratpack.kts

import ratpack.kotlin.handling.ratpack

ratpack {
  serverConfig {
    port(8080)
  }
  bindings {
    bindInstance("string")
  }
  handlers {
    get("test") {
      render(get(String::class.java))
    }
  }
}

All libraries are available in maven central.

Gradle

compile 'me.drmaas:ratpack-kotlin-<module>:x.x.x'

Maven

<dependency>
  <groupId>me.drmaas</groupId>
  <artifactId>ratpack-kotlin-<module></artifactId>
  <version>x.x.x</version>
</dependency>

Building and Releasing

./gradlew -Prelease.scope=patch clean build install final publishPlugins uploadArchives

Versions

Version
1.10.0
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.2-rc.7
1.7.2-rc.6
1.7.2-rc.5
1.7.2-rc.4
1.7.2-rc.3
1.7.2-rc.2
1.7.2-rc.1
1.7.1
1.7.0
1.6.0
1.5.6
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.1