Skip to content

Commit 2a9eaab

Browse files
committed
Remove outdated declarations from spring-aspects build
1 parent 1fbd38c commit 2a9eaab

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

spring-aspects/aspects.gradle

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// redefine the compileJava and compileTestJava tasks in order to
2-
// compile sources with ajc instead of javac
1+
// Redefine the compileJava and compileTestJava tasks in order to compile sources with ajc instead of javac
32

43
configurations {
54
rt
@@ -8,22 +7,14 @@ configurations {
87
ajInpath
98
}
109

11-
// exclude spring-aspects as a module within IDEA until IDEA-64446 is resolved
12-
tasks.getByName("idea").onlyIf { false }
13-
tasks.getByName("ideaModule").onlyIf { false }
14-
1510
compileJava {
1611
actions = []
1712
dependsOn configurations.ajc.getTaskDependencyFromProjectDependency(true, "compileJava")
1813

1914
def outputDir = project.sourceSets.main.output.classesDir
20-
2115
inputs.files(project.sourceSets.main.allSource + project.sourceSets.main.compileClasspath)
2216
outputs.dir outputDir
2317

24-
ext.sourceCompatibility = project(":spring-core").compileJava.sourceCompatibility
25-
ext.targetCompatibility = project(":spring-core").compileJava.targetCompatibility
26-
2718
doLast{
2819
// Assemble runtime classpath from folders and JARs that actually exist
2920
def runtimeClasspath = project.files(sourceSets.main.runtimeClasspath.files.findAll({ it.exists() }))
@@ -53,13 +44,9 @@ compileTestJava {
5344
dependsOn jar
5445

5546
def outputDir = project.sourceSets.test.output.classesDir
56-
5747
inputs.files(project.sourceSets.test.allSource + project.sourceSets.test.compileClasspath)
5848
outputs.dir outputDir
5949

60-
ext.sourceCompatibility = project(":spring-core").compileTestJava.sourceCompatibility
61-
ext.targetCompatibility = project(":spring-core").compileTestJava.targetCompatibility
62-
6350
doLast{
6451
// Assemble runtime classpath from folders and JARs that actually exist
6552
def runtimeClasspath = project.files(sourceSets.test.runtimeClasspath.files.findAll({ it.exists() }))

0 commit comments

Comments
 (0)