mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 17:38:32 +08:00
Update build.gradle
This commit is contained in:
parent
70f30d5d34
commit
df90a4cb46
@ -1,38 +1,7 @@
|
|||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/'}
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
//springboot jar
|
|
||||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
plugins {
|
|
||||||
id 'java'
|
|
||||||
id "io.spring.dependency-management" version "1.0.11.RELEASE"
|
|
||||||
id 'org.springframework.boot' version "${springBootVersion}"
|
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: 'io.spring.dependency-management'
|
|
||||||
|
|
||||||
description = "maxkey-web-maxkey"
|
description = "maxkey-web-maxkey"
|
||||||
|
|
||||||
bootJar {
|
//add support for Java
|
||||||
dependsOn jar
|
apply plugin: 'java'
|
||||||
baseName = 'maxkey-boot'
|
|
||||||
version = "${project.version}-ga"
|
|
||||||
mainClass = 'org.maxkey.MaxKeyApplication'
|
|
||||||
manifest {
|
|
||||||
attributes(
|
|
||||||
"Implementation-Title": project.name,
|
|
||||||
"Implementation-Vendor": project.vendor,
|
|
||||||
"Created-By": project.author,
|
|
||||||
"Implementation-Date": java.time.ZonedDateTime.now(),
|
|
||||||
"Implementation-Version": project.version
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(":maxkey-common")
|
implementation project(":maxkey-common")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user