빌드 스크립트 추가
This commit is contained in:
@@ -3,6 +3,7 @@ plugins {
|
||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id 'java'
|
||||
id 'war'
|
||||
// id "org.sonarqube" version "4.2.1.3168"
|
||||
}
|
||||
|
||||
bootJar.enabled = true
|
||||
@@ -16,6 +17,7 @@ ext['logback.version'] = '1.2.10'
|
||||
group = 'com.eactive'
|
||||
version = '1.0.3'
|
||||
sourceCompatibility = '1.8'
|
||||
targetCompatibility = 1.8
|
||||
|
||||
|
||||
configurations {
|
||||
|
||||
Regular → Executable
+2
@@ -1,2 +1,4 @@
|
||||
rm HttpMockServer-1.0.3.jar
|
||||
cp ../build/libs/HttpMockServer-1.0.3.jar ./
|
||||
jar uf HttpMockServer-1.0.3.jar BOOT-INF/classes/static/favicon.ico
|
||||
tar -cvf simulator.tar ./HttpMockServer-1.0.3.jar
|
||||
@@ -0,0 +1,5 @@
|
||||
sed -i '' "s/\/\/ id \"org\.sonarqube/ id \"org\.sonarqube/g" ./build.gradle
|
||||
|
||||
./gradlew sonar -Dsonar.projectKey=simulator -Dsonar.projectName='simulator' -Dsonar.host.url=http://localhost:9000 -Dsonar.token=sqp_8363780a26613b2557b57ced47b655d077e0a310
|
||||
|
||||
sed -i '' "s/ id \"org\.sonarqube/\/\/ id \"org\.sonarqube/g" ./build.gradle
|
||||
Reference in New Issue
Block a user