Ratpack kotlin dsl library


License

License

Categories

Categories

Kotlin Languages Ratpack User Interface Web Frameworks
GroupId

GroupId

me.drmaas
ArtifactId

ArtifactId

ratpack-kotlin-rx
Last Version

Last Version

1.9.4
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-rx

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
io.ratpack : ratpack-rx jar 1.7.5
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.41

test (3)

Group / Artifact Type Version
me.drmaas : ratpack-kotlin-test jar 1.9.4
io.kotlintest : kotlintest jar 2.0.7
ch.qos.logback : logback-classic jar 1.2.3

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.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
1.4.0-dev.0+85c0a08
1.4.0
1.3.5
1.3.4
1.3.2
1.3.1
1.3.0
1.2.0-rc.5
1.2.0-rc.4
1.2.0-rc.3
1.2.0-rc.2
1.2.0-rc.1
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.10.2
0.10.1
0.10.0
0.9.1
0.9.0
0.8.0
0.7.0
0.7.0-rc.2