代码拉取完成,页面将自动刷新
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"
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。