Skip to content

Commit

Permalink
minor build script fix in regards to setting apt dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed May 14, 2015
1 parent ae0b5f8 commit 9a2baf5
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -30,7 +30,6 @@ import org.gradle.api.Project
import org.gradle.api.plugins.JavaPluginConvention
import org.gradle.api.publish.PublishingExtension
import org.gradle.api.publish.maven.MavenPublication
import org.gradle.api.tasks.SourceSet
import org.gradle.api.tasks.compile.JavaCompile
import org.gradle.api.tasks.testing.Test
import org.gradle.internal.jvm.Jvm
Expand Down Expand Up @@ -134,7 +133,7 @@ class HibernateBuildPlugin implements Plugin<Project> {
// NOTE : this aptDir stuff is needed until we can have IntelliJ run annotation processors for us
// which cannot happen until we can fold hibernate-testing back into hibernate-core/src/test
// which cannot happen until... ugh
File aptDir = project.file( "${project.buildDir}/generated-src/apt/main" )
File aptDir = project.file( "${project.buildDir}/generated-src/apt/${sourceSet.name}" )
sourceSet.allJava.srcDir( aptDir )

javaCompileTask.options.compilerArgs += [
Expand Down

0 comments on commit 9a2baf5

Please sign in to comment.