2 Star 3 Fork 0

daniel2y/Searcher4Mysql

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 4.77 KB
一键复制 编辑 原始数据 按行查看 历史
daniel2y 提交于 2019-09-03 16:57 . 升级依赖
// jlink --module-path %PATH_TO_FX_MODS% --add-modules java.se,java.desktop,java.sql,javafx.base,javafx.controls,javafx.graphics,javafx.fxml,javafx.web,javafx.media,javafx.swing --bind-services --output jdkfx11
buildscript {
ext{
kotlin_version = "1.3.50"
tornadofx_version = "1.7.19"
junit_version = "5.1.0"
jfinal_version = "4.5"
mysql_version = "8.0.16"
hutool_version = "4.6.2"
HikariCP_version = "3.3.1"
log4j_version = "1.2.17"
}
repositories {
mavenLocal()
maven{ url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
mavenCentral()
maven{url "https://plugins.gradle.org/m2/"}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: "kotlin"
apply plugin: "application"
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
repositories {
mavenLocal()
maven{ url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "no.tornado:tornadofx:$tornadofx_version"
compile 'org.ojalgo:ojalgo:47.3.0' // 数独工具类
compile 'org.ojalgo:okalgo:0.0.2' // 数独工具类
compile 'org.deeplearning4j:deeplearning4j-core:1.0.0-beta4'
compile 'org.nd4j:nd4j-native-platform:1.0.0-beta4'
implementation("org.nield:kotlin-statistics:1.2.1")
compile("link.webarata3.kexcelapi:kexcelapi:0.5.1")
compile("org.dom4j:dom4j:2.1.1")
compile("com.github.tulskiy:jkeymaster:1.2") // java注册全局热键工具类
compile("com.google.zxing:javase:3.4.0") // 二维码识别与生成工具库
compile("com.squareup.okhttp3:okhttp:4.0.1")
compile("org.apache.commons:commons-csv:1.7") // commons-csv csv解析工具类
compile("com.jfoenix:jfoenix:8.0.5")
compile("com.google.zxing:javase:3.4.0") //二维码识别与生成工具库
compile("net.coobird:thumbnailator:0.4.8") //thumbnailator图片处理工具
compile("com.github.oshi:oshi-core:4.0.0-b1") // oshi获取系统信息工具
compile("org.apache.poi:poi-ooxml:4.1.0") //excel操作工具
compile("com.alibaba:fastjson:1.2.59")
compile("commons-betwixt:commons-betwixt:0.8")
compile("org.apache.commons:commons-imaging:1.0-alpha1")
compile "com.jfinal:jfinal:$jfinal_version"
compile "com.zaxxer:HikariCP:$HikariCP_version"
// compile "com.alibaba:druid:$druid_version"
compile("mysql:mysql-connector-java:$mysql_version")
compile("cn.hutool:hutool-all:$hutool_version")
compile("de.dynamicfiles.projects.gradle.plugins:javafx-gradle-plugin:8.8.2")
// compile("com.github.bkenn:kfoenix:0.1.3")
compile("no.tornado:tornadofx-controlsfx:0.1.1")
compile("log4j:log4j:$log4j_version")
compile("org.fxmisc.richtext:richtextfx:0.10.1")
compile("com.dlsc.workbenchfx:workbenchfx-core:11.0.0")
// for jdk11
// compile 'com.github.almasb:fxgl:11.3'
// compile 'com.github.almasb:fxgl:0.5.4'
// https://vocabhunter.github.io/2017/04/30/Read-Any-Document-Format.html
// compile 'org.apache.tika:tika-parsers:1.21'
// compile 'org.apache.tika:tika-core:1.21'
//
// testCompile "org.junit.jupiter:junit-jupiter-api:$junit_version"
// testRuntime "org.junit.jupiter:junit-jupiter-engine:$junit_version"
}
//processResources {
// exclude { "**/*.*" }
//}
mainClassName = "com.cyy.app.MyApp"
jar {
zip64=true
manifest {
attributes(
"Class-Path": configurations.compile.collect { it.getName() }.join(" "),
"Main-Class": mainClassName
)
}
from(configurations.compile.collect { entry -> zipTree(entry) }) {
exclude "META-INF/MANIFEST.MF"
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
}
//shadowJar{
// zip64 = true
//}
//task pack(type: Copy, dependsOn: [clean, installDist]) {
// sourceSets.main.resources.srcDirs.each {
// from it
// into "$buildDir/install/$rootProject.name/bin/resources"
// }
//}
//
/**
* 生成可执行jar
* 1. export JAVA_HOME=/soft/sss/jdk8
* 2. gradle jfxJar
*/
//jfx {
// appName = "Code_Generator"
//
// // 启动类
// mainClass = mainClassName
//
// // 公司名称
// vendor = 'cyy'
// jfxAppOutputDir = "/soft"
// jfxMainAppJarName = "Code_Generator.jar"
//
// // 启动画面
//// preLoader = 'xxx.xxx.XxxSplashScreen'
//
//}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Kotlin
1
https://gitee.com/y2h/Searcher4Mysql.git
[email protected]:y2h/Searcher4Mysql.git
y2h
Searcher4Mysql
Searcher4Mysql
master

搜索帮助