1 Star 0 Fork 75

yourkeychen / dbfx

forked from dbfx / dbfx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 2.43 KB
一键复制 编辑 原始数据 按行查看 历史
小白杨 提交于 2020-12-14 16:44 . update vertx from 4.0.0-beta3 to 4.0.0
buildscript {
ext.kotlin_version = '1.4.10'
ext.vertx_version = '4.0.0'
repositories {
maven {
url "https://maven.aliyun.com/repository/google"
}
maven {
url "https://maven.aliyun.com/nexus/content/repositories/central"
}
maven {
url "https://maven.aliyun.com/nexus/content/groups/public/"
}
maven {
url "https://nexus.gluonhq.com/nexus/content/repositories/releases"
}
maven {
url "https://plugins.gradle.org/m2/"
}
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'org.jetbrains.kotlin.jvm'
group 'cn.dbfx'
version '0.0.1-SNAPSHOT'
sourceCompatibility = 15
targetCompatibility = 15
sourceSets {
main {
java {
srcDirs = ['src/main/java', 'src/main/kotlin']
}
resources {
srcDirs = ['src/main/resources']
}
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "11"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "11"
}
}
repositories {
maven { url "https://maven.aliyun.com/repository/google" }
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
compile group: 'org.slf4j', name: 'slf4j-api', version: '2.0.0-alpha1'
compile group: 'ch.qos.logback', name: 'logback-core', version: '1.3.0-alpha5'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.3.0-alpha5'
compile group: 'io.vertx', name: 'vertx-core', version: vertx_version
compile group: 'io.vertx', name: 'vertx-lang-kotlin-coroutines', version: vertx_version
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.2'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testImplementation 'junit:junit:4.12'
testImplementation "io.vertx:vertx-unit:$vertx_version"
}
}
Java
1
https://gitee.com/yourkeychen/dbfx.git
git@gitee.com:yourkeychen/dbfx.git
yourkeychen
dbfx
dbfx
master

搜索帮助