Skip to content

Commit

Permalink
Merge pull request #9 from cyberjso/upgrade-jetty-plugin
Browse files Browse the repository at this point in the history
Adding support for gretty plugin
  • Loading branch information
diegopacheco committed Mar 17, 2017
2 parents 069355d + b283324 commit 6c81c11
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
21 changes: 17 additions & 4 deletions dynomite-cluster-checker/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'war'
apply plugin: 'application'
apply plugin: 'eclipse'
apply plugin: 'jetty'


version = '1.0'
sourceCompatibility = 1.8
Expand Down Expand Up @@ -33,6 +33,19 @@ buildscript {
jcenter()
mavenLocal()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:+'
}
}
apply plugin: 'org.akhikhl.gretty'

gretty {
jvmArgs = [
'-Xms256m',
'-Xmx2048m',
'-XX:-HeapDumpOnOutOfMemoryError',
'-XX:ErrorFile=./hs_err_pid%p.log']
httpPort = 7766
}

eclipse {
Expand All @@ -54,9 +67,9 @@ dependencies {
}
}

httpPort = 7766
stopPort = 7765
stopKey = "stopKey"
//httpPort = 7766
///stopPort = 7765
//stopKey = "stopKey"

jar {
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
Expand Down
2 changes: 1 addition & 1 deletion dynomite-cluster-checker/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
org.gradle.jvmargs=-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false -server -Xmx2048m -Xms128m
org.gradle.jvmargs=-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false

0 comments on commit 6c81c11

Please sign in to comment.