8 Star 30 Fork 7

Windoze / vertx-kotlin-rpc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 2.66 KB
一键复制 编辑 原始数据 按行查看 历史
Chen Xu 提交于 2019-03-01 16:16 . JSON RPC
buildscript {
ext {
vertx_version = "3.6.3"
}
repositories {
jcenter()
}
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.21'
id 'idea'
id 'maven'
id 'maven-publish'
id "org.jetbrains.dokka" version "0.9.17"
id "com.jfrog.bintray" version "1.8.4"
}
group 'codes.unwritten'
version '0.6'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile "org.jetbrains.kotlin:kotlin-reflect"
compile "io.vertx:vertx-lang-kotlin-coroutines:$vertx_version"
compile "io.vertx:vertx-web:$vertx_version"
compile "io.vertx:vertx-web-client:$vertx_version"
compile "com.esotericsoftware:kryo:5.0.0-RC1"
testCompile "io.vertx:vertx-unit:$vertx_version"
testCompile "junit:junit:4.12"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestJava {
}
task sourceJar(type: Jar) {
classifier "sources"
from sourceSets.main.allSource
}
dokka {
outputFormat = 'javadoc'
outputDirectory = "$buildDir/javadoc"
}
task kotlinDocJar(type: Jar, dependsOn: dokka) {
classifier = 'javadoc'
from dokka.outputDirectory
}
publishing {
publications {
mavenKotlin(MavenPublication) {
from components.java
artifact kotlinDocJar
artifact sourceJar
groupId 'codes.unwritten'
artifactId 'vertx-kotlin-rpc'
version '0.6'
}
}
}
install {
repositories.mavenInstaller {
pom {
project {
packaging 'jar'
}
}
}
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
bintray {
user = properties.hasProperty('bintray.user') ? properties.property('bintray.user') : System.getenv('BINTRAY_USER')
key = properties.hasProperty('bintray.apikey') ? properties.property('bintray.apikey') : System.getenv('BINTRAY_API_KEY')
publications = ['mavenKotlin']
publish = true
pkg {
repo = 'maven'
name = "vertx-kotlin-rpc"
desc = "A minimalist RPC framework for Vertx/Kotlin"
websiteUrl = "https://github.com/windoze/vertx-kotlin-rpc"
issueTrackerUrl = "https://github.com/windoze/vertx-kotlin-rpc/issues"
vcsUrl = "https://github.com/windoze/vertx-kotlin-rpc.git"
licenses = ['WTFPL']
publicDownloadNumbers = true
version {
name = "0.6"
desc = "Vertx Kotlin RPC 0.6"
released = new Date()
vcsTag = "0.6.0"
}
}
}
Kotlin
1
https://gitee.com/windoze/vertx-kotlin-rpc.git
git@gitee.com:windoze/vertx-kotlin-rpc.git
windoze
vertx-kotlin-rpc
vertx-kotlin-rpc
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891