Kordapt Gradle Plugin

Kordapt is an opensource java framework for easily building in a consistent and modular manner, services that exist on The Core

Лицензия

Лицензия

Категории

Категории

Gradle Компиляция и сборка
Группа

Группа

com.korwe
Идентификатор

Идентификатор

kordapt-gradle-plugin
Последняя версия

Последняя версия

1.1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Kordapt Gradle Plugin
Kordapt is an opensource java framework for easily building in a consistent and modular manner, services that exist on The Core
Ссылка на сайт

Ссылка на сайт

https://github.com/korwe/kordapt
Организация-разработчик

Организация-разработчик

Korwe Software
Система контроля версий

Система контроля версий

https://github.com/korwe/kordapt

Скачать kordapt-gradle-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.korwe/kordapt-gradle-plugin/ -->
<dependency>
    <groupId>com.korwe</groupId>
    <artifactId>kordapt-gradle-plugin</artifactId>
    <version>1.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.korwe/kordapt-gradle-plugin/
implementation 'com.korwe:kordapt-gradle-plugin:1.1.2'
// https://jarcasting.com/artifacts/com.korwe/kordapt-gradle-plugin/
implementation ("com.korwe:kordapt-gradle-plugin:1.1.2")
'com.korwe:kordapt-gradle-plugin:jar:1.1.2'
<dependency org="com.korwe" name="kordapt-gradle-plugin" rev="1.1.2">
  <artifact name="kordapt-gradle-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.korwe', module='kordapt-gradle-plugin', version='1.1.2')
)
libraryDependencies += "com.korwe" % "kordapt-gradle-plugin" % "1.1.2"
[com.korwe/kordapt-gradle-plugin "1.1.2"]

Зависимости

runtime (10)

Идентификатор библиотеки Тип Версия
com.korwe : kordapt-api-definition jar 1.1.2
com.korwe : thecore-service-api jar 2.2.0
com.korwe : thecore-common-api jar 2.2.0
com.google.guava : guava jar 14.0.1
org.antlr : antlr4 jar 4.5.1-1
org.antlr : stringtemplate jar 4.0.2
org.springframework : spring-core jar 3.2.3.RELEASE
org.springframework : spring-beans jar 3.2.3.RELEASE
org.springframework : spring-context jar 3.2.3.RELEASE
org.springframework : spring-context-support jar 3.2.3.RELEASE

Модули Проекта

Данный проект не имеет модулей.

Kordapt

What's Kordapt
Quick Start
Usage

What's Kordapt

Kordapt is an opensource java framework for easily building in a consistent and modular manner, services that exist on The Core. The framework makes extensive use of leading technologies such as Gradle and Spring. It makes development easy by providing gradle scripts(generators) that utilize Antlr and String template for generating plumbing code of a service and its models. It further promotes modularization by providing various plugins to help with plumbing that suits the requirements of your project such as hibernate.

Kordapt exposes an api-definition for the services and models created in a language agnostic manner by utilizing a set of yaml files. This allows any alternative language to java to consume and understand the api-definition by mapping that language to the api-definition.

Kordapt aims at simplifying the development process by aiding your choice of middleware technologies, libraries and frameworks, so that you are able to focus solely on your business logic.

Quick Start

The following is all done via build.gradle

Add dependencies

Add maven repositories and the kordapt gradle plugin dependency, then apply it

buildscript{
    repositories {
        mavenLocal()
        mavenCentral()
    }

    dependencies {
        classpath 'com.korwe:kordapt-gradle-plugin:1.1.1'
    }
}

apply plugin: 'kordapt'

repositories {
    jcenter()
    mavenLocal()
    mavenCentral()
}


dependencies {
    compile 'com.korwe:kordapt-core:1.1.1'
}

Configure

kordapt{
    defaultPackage = "my.company.projectName"
}

Full set of Configuration options

Initialize project

On the command-line, now run

gradle kinit

You will now have a kordapt project with the standard Structure

Usage

Generators

Generate Service

Generate the full plumbing for a service:

gradle kgenerate -Pinput="<ServiceName> <ReturnType>:<functionName>(<params>)"

Example:

gradle kgenerate -Pinput="HelloWorldService ArbitraryType:firstFunction() void:secondFunction(Integer inputNumber)"

Full Documentation

Generate Model

Generate the full plumbing for a model:

gradle kgenerate -Pinput="<ModelName> <AttributeType>:<attributeName>"

Example:

gradle kgenerate -Pinput="MyModel ArbitraryType:firstAttribute String:secondAttribute"

Full Documentation

com.korwe

Korwe Software

Версии библиотеки

Версия
1.1.2
1.1.1
1.1.0
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1