Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Change Compile to JavaCompile #49

Closed
johnthad opened this issue Aug 14, 2014 · 0 comments
Closed

Change Compile to JavaCompile #49

johnthad opened this issue Aug 14, 2014 · 0 comments
Milestone

Comments

@johnthad
Copy link

In build.gradle,

@@ -51,7 +51,7 @@ subprojects {
testCompile group: 'junit', name: 'junit', version: '[4.11,5.0['
}

  • tasks.withType(Compile) {
  • tasks.withType(JavaCompile) {
    options.encoding = rootProject.encoding
    }

Reason: Java org.gradle.api.tasks.compile.Compile deprecated in Gradle 1.2 and removed in Gradle 2.0.

steffenschaefer added a commit that referenced this issue Aug 15, 2014
- fix for GitHub issue #49
@steffenschaefer steffenschaefer added this to the 0.5 milestone Aug 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants