1 Star 0 Fork 76

学习奋斗/databasefx

forked from dbfx/dbfx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 2.41 KB
一键复制 编辑 原始数据 按行查看 历史
小白杨 提交于 2022-03-13 20:11 . 升级项目依耐
buildscript {
ext.kotlin_version = '1.6.10'
ext.vertx_version = '4.2.5'
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/"
}
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"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/ahanflw_admin/databasefx.git
git@gitee.com:ahanflw_admin/databasefx.git
ahanflw_admin
databasefx
databasefx
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385