Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed broken tests due to removal of `sources` extension.

  1. … 3 more files in changeset.
Don't use deprecated properties in integration tests

  1. … 2 more files in changeset.
Test fix.

+review REVIEW-5498

Test fixes after: Revert exposing BinarySpec.getSource() as a ModelMap.

+review REVIEW-5498

  1. … 3 more files in changeset.
Fix tests broken after changing the return type of BinarySpec.getSource() to ModelMap<LanguageSourceSet>.

+review REVIEW-5498

  1. … 1 more file in changeset.
Change the return type of ComponentSpec.getSource() to ModelMap<LanguageSourceSet> backed by a FunctionalSourceSet.

+review REVIEW-5496

  1. … 20 more files in changeset.
Fix tests that were still trying to access components collection via the now non-existent project extension.

+review REVIEW-5456

  1. … 2 more files in changeset.
more build ci fixes

+review REVIEW-5263

  1. … 3 more files in changeset.
All LanguageSourceSet instances are associated with a component instance

- ProjectSourceSet is a flat collection of LanguageSourceSets

- Each component has a FunctionalSourceSet

- Each binary for a component gets a copy of the component's FunctionalSourceSet

- Any source set added to a FunctionalSourceSet is automatically in the ProjectSourceSet

- Most rules that deal with source sets iterate over sources for a component, rather than everything in ProjectSourceSet

- Updated all tests so that LanguageSourceSets are created directly for a component/binary,

rather than declaring them in the sources container and then referencing them from component/binary

  1. … 43 more files in changeset.
Added temporary functionality to permit DSL configuration of JVM binaries

- Can’t use binaries.all() since we need the action to fire _after_ any

plugin-supplied actions have been executed

- Removed ‘jvm’ extension

  1. … 9 more files in changeset.
Use @ComponentType to register jvm components

  1. … 11 more files in changeset.
Configure sources directly on JVM components

  1. … 11 more files in changeset.
Update tests for renamed JvmResourceSet

  1. … 5 more files in changeset.
Added id for the jvm-resources plugin and a little integration test coverage for resource only libraries.

    • -0
    • +81
    ./org/gradle/language/jvm/ResourceOnlyJvmLibraryIntegrationTest.groovy
  1. … 2 more files in changeset.
Move Javadoc task related classes to language-java

+review REVIEW-5165

    • -100
    • +0
    ./org/gradle/javadoc/JavadocIntegrationTest.groovy
  1. … 109 more files in changeset.
Don't hardcode source and target compatibility version in JavaCompile test

+review REVIEW-5158

GRADLE-3152 Cannot use Javadoc task without JavaBasePlugin applied

Allow to use Javadoc and JavaCompile tasks without applying JavaBasePlugin

- Inject JavaToolChain directly into the tasks instead of via the plugin

- Move providing DefaultJavaToolChain to JvmPluginServiceRegistry in language-jvm as JavaCompileTest needs that dependency

- Move all javadoc related code from plugins to language-jvm because DefaultJavaToolChain depends on that code

+review REVIEW-5158

    • -0
    • +45
    ./org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy
    • -0
    • +100
    ./org/gradle/javadoc/JavadocIntegrationTest.groovy
  1. … 120 more files in changeset.
Extract java and groovy compilation into separate language subprojects

- ‘language-java’ contains JavaCompile task, compiler infrastructure and associated classes

- ‘language-groovy’ contains GroovyCompile task and associated infrastructure

- depends on ‘language-java’

- ‘language-jvm’ contains ProcessResources task and some common JVM language infrastructure

  1. … 313 more files in changeset.
Extract core JVM platform classes into new subproject ‘platform-jvm’

  1. … 88 more files in changeset.
fix failing languageJvm:integTest on ci

+review REVIEW-5076

more renamings

ProjectBinary -> BinarySpec

ProjectBinaryInternal -> BinarySpecInternal

ProjectJarBinary -> JarBinarySpec

ProjectJvmLibraryBinary -> JvmLibraryBinarySpec

ProjectNativeBinaryTest -> NativeBinarySpecTest

+ several default implementations according to their related interfaces

  1. … 58 more files in changeset.
fix language-jvm integration tests after renaming some model classes

  1. … 1 more file in changeset.
Moved ProjectNativeComponent.getBinaries() up to ProjectComponent

- Tests for configuring binaries of ProjectJvmLibrary

- Also moved getDisplayName() up

  1. … 7 more files in changeset.
Use correct destination dir for resources tasks

  1. … 3 more files in changeset.
A bunch of work on the Jvm binary model

- Renamed JarBinary -> ProjectJarBinary

- need a better naming scheme, but this is consistent

- Introduced ProjectJarBinaryInternal and ClassDirectoryBinaryInternal

- ProjectJvmBinary has classesDir and resourcesDir

- ProjectJarBinary has jarFile

  1. … 22 more files in changeset.
Updated compiler error message checks to be compatible with Windows - Will need to see what IBM JDK produces…

Added test for incremental build using new java-lang plugin

    • -0
    • +192
    ./org/gradle/language/java/JavaLanguageIncrementalBuildIntegrationTest.groovy
    • -0
    • +262
    ./org/gradle/language/java/JavaLanguageIntegrationTest.groovy
  1. … 1 more file in changeset.
Test for failing compilation with ‘java-lang’ plugin

    • -0
    • +45
    ./org/gradle/language/fixtures/BadJavaLibrary.groovy
Test that empty jar is built when no sources or resources are supplied

Moved some integ tests into languageJvm

  1. … 2 more files in changeset.