代码拉取完成,页面将自动刷新
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '1.2.3'
id "com.github.mtatheonly.quasar-gradle-plugin" version "0.0.1"
}
group 'cn.lianxian'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url "https://jitpack.io" }
}
apply plugin: "com.github.mtatheonly.quasar-gradle-plugin"
mainClassName = 'io.vertx.core.Launcher' //<--add
def mainVerticleName = 'vertical.MainVertical'
shadowJar {
classifier = 'fat'
manifest { //<--add
attributes "Main-Verticle": mainVerticleName
}
mergeServiceFiles {
include 'META-INF/services/io.vertx.core.spi.VerticleFactory'
}
}
configurations {
quasar
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'io.vertx:vertx-core:3.5.4'
compile fileTree (dir: 'lib', include: ['*.jar'])
compile 'io.vertx:vertx-web:3.5.4'
compile 'io.vertx:vertx-redis-client:3.5.2.CR3'
compile 'io.vertx:vertx-jdbc-client:3.5.4'
compile 'io.vertx:vertx-sql-common:3.5.4'
compile 'org.slf4j:slf4j-api:1.7.12'
compile 'org.slf4j:slf4j-simple:1.7.12'
compile 'log4j:log4j:1.2.17'
compile 'com.fasterxml.jackson.core:jackson-core:2.1.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.1.0'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.1.0'
compile 'mysql:mysql-connector-java:5.1.33'
compile 'io.vertx:vertx-rabbitmq-client:3.5.4'
compile 'com.rabbitmq:amqp-client:5.4.1'
compile 'com.zaxxer:HikariCP:3.1.0'
}
tasks.withType(JavaCompile){
options.encoding = "UTF-8"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。