From 806b6945ec60ed9be7ff31669d0a7f9ff09d1a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Bu=C3=9Fmann?= Date: Wed, 13 Jul 2022 00:21:33 +0200 Subject: [PATCH] Revert "added frontend to gradle build" This reverts commit 28109f0d359223bcdbd3a7d66324074fc7442d59. --- build.gradle | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/build.gradle b/build.gradle index d629644..26ce9e8 100644 --- a/build.gradle +++ b/build.gradle @@ -10,35 +10,10 @@ sourceCompatibility = '17' compileJava.options.encoding = 'UTF-8' compileTestJava.options.encoding = 'UTF-8' -configurations { - compileOnly { - extendsFrom annotationProcessor - } -} - repositories { mavenCentral() } -processResources{ - dependsOn 'copyFrontendToBuild' -} - -bootJar{ - archiveFileName = "app.jar" -} - -task copyFrontendToBuild(type: Copy) { - dependsOn 'npmBuild' - from "$projectDir/frontend/dist/" - into "$buildDir/resources/main/static" -} - -task npmBuild(type: Exec) { - workingDir './frontend/' - commandLine 'npm','run', 'build' -} - dependencies { implementation 'org.springframework.boot:spring-boot-starter-test' implementation 'org.springframework.boot:spring-boot-starter'