1 Star 0 Fork 20

wl606/ToolsFx

forked from Leon Lambert/ToolsFx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle.kts 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
Leon Lambert 提交于 2022-04-05 12:17 . build(app): bump kotlin to 1.6.20
plugins {
kotlin("jvm") version "1.6.20"
id("com.diffplug.spotless") version "6.4.1"
id("io.gitlab.arturbosch.detekt") version "1.19.0"
id("org.openjfx.javafxplugin") version "0.0.11"
}
repositories {
mavenCentral()
maven { url = uri("https://maven.aliyun.com/repository/public") }
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
maven { url = uri("https://maven.aliyun.com/repository/google") }
}
apply(from = "${rootProject.projectDir}/config/Versions.gradle.kts")
subprojects {
apply(from = "${rootProject.projectDir}/config/codeQuality.gradle")
apply(plugin = "org.openjfx.javafxplugin")
apply(plugin = "org.jetbrains.kotlin.jvm")
repositories {
mavenCentral()
maven { url = uri("https://maven.aliyun.com/repository/public") }
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
maven { url = uri("https://maven.aliyun.com/repository/google") }
}
}
val hook = File("${rootProject.projectDir}/.git/hooks/pre-commit")
hook.writeBytes(
"""#!/bin/bash
echo "run code format"
./gradlew spotlessJCh spotlessKCh
echo "run code smell check"
./gradlew detekt
""".toByteArray()
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Kotlin
1
https://gitee.com/wl606/ToolsFx.git
git@gitee.com:wl606/ToolsFx.git
wl606
ToolsFx
ToolsFx
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385