Skip to content
Permalink
Browse files

configuration enhancements

  • Loading branch information...
hsz committed May 21, 2018
1 parent 2ea3f69 commit f9e7c4824b2c367328b97ca21da90670a5b5bb21
Showing with 7 additions and 19 deletions.
  1. +3 −16 build.gradle
  2. +3 −2 gradle.properties
  3. +1 −1 gradle/wrapper/gradle-wrapper.properties
@@ -1,7 +1,7 @@
plugins {
id 'jacoco'
id 'org.jetbrains.intellij' version '0.3.1'
id 'de.undercouch.download' version '3.4.2'
id 'de.undercouch.download' version '3.4.3'
id 'com.github.kt3k.coveralls' version '2.8.2'
}

@@ -197,21 +197,8 @@ clean.doFirst {

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'

if (!Boolean.valueOf(System.getenv('CI'))) {
def javaHome = System.getenv("JAVA_HOME")
if (null == javaHome || "".equals(javaHome)) {
javaHome = JDK6_HOME
}

options.bootClasspath = "$javaHome/jre/lib/rt.jar"
}
}

afterEvaluate {
tasks.getByName('runIde') {
jvmArgs(javaArguments)
}
options.incremental = true
options.fork = true
}

compileJava.dependsOn generateSources
@@ -6,7 +6,8 @@ ideaVersion = 2018.1
ideaType = IC
javaVersion = 1.6
javaTargetVersion = 1.6
javaArguments = -agentpath:/home/hsz/IDE/yjp-2017.02/bin/linux-x86-64/libyjpagent.so
javaArguments =
#javaArguments = -agentpath:/home/hsz/IDE/yjp-2017.02/bin/linux-x86-64/libyjpagent.so
sources = true
isEAP = false
runGenerators = true
@@ -23,4 +24,4 @@ publishChannel =
org.gradle.jvmargs=-XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=utf-8
JDK6_HOME=/usr/lib/jvm/java-6-jdk/

idePath = /home/hsz/IDE/idea-IU-181.4203.550
idePath =
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip

0 comments on commit f9e7c48

Please sign in to comment.
You can’t perform that action at this time.