From df90a4cb46c2774d78eb340fe1e1560f9716d2ea Mon Sep 17 00:00:00 2001 From: MaxKey Date: Mon, 20 Feb 2023 19:18:17 +0800 Subject: [PATCH] Update build.gradle --- maxkey-webs/maxkey-web-maxkey/build.gradle | 35 ++-------------------- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/maxkey-webs/maxkey-web-maxkey/build.gradle b/maxkey-webs/maxkey-web-maxkey/build.gradle index 64ce5df24..7b332d66c 100644 --- a/maxkey-webs/maxkey-web-maxkey/build.gradle +++ b/maxkey-webs/maxkey-web-maxkey/build.gradle @@ -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" -bootJar { - dependsOn jar - 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 - ) - } -} +//add support for Java +apply plugin: 'java' dependencies { implementation project(":maxkey-common") -- GitLab