Skip to content

Commit cf258e1

Browse files
committed
[Jason]abstract the remotr debug config to a separated grade costomized file
1 parent 363f2a2 commit cf258e1

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,13 @@ buildscript {
2424

2525
apply plugin: 'java'
2626
apply plugin: 'org.springframework.boot'
27-
apply plugin: 'application'
2827
apply from: file('gradle/idea.gradle')
2928
apply from: file('gradle/test-coverage.gradle')
3029
apply from: file('gradle/api-test.gradle')
3130
apply from: file('gradle/check-style.gradle')
3231
apply from: file('gradle/build-info.gradle')
3332
apply from: file('gradle/docker.gradle')
34-
35-
36-
applicationDefaultJvmArgs = ["-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"]
37-
33+
apply from: file('gradle/remote-debug.gradle')
3834

3935

4036
version = project.version

gradle/remote-debug.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
apply plugin: 'application'
2+
3+
applicationDefaultJvmArgs = ["-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"]

0 commit comments

Comments
 (0)