Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved language-jvm/src/main/groovy -> src/main/java

    • -37
    • +0
    ./jvm/internal/DefaultResourceSet.java
    • -94
    • +0
    ./jvm/plugins/JvmResourcesPlugin.java
  1. … 54 more files in changeset.
Moved JavadocArtifact from language-jvm -> language-java

    • -28
    • +0
    ./jvm/artifact/JavadocArtifact.java
  1. … 9 more files in changeset.
Renamed org.gradle.runtime.base -> org.gradle.platform.base

  1. … 210 more files in changeset.
Package rename: org.gradle.runtime.jvm -> org.gradle.jvm

  1. … 79 more files in changeset.
Tightened up project dependencies of ‘platform-native’ project

- Moved some shared classes into ‘language-base’

    • -43
    • +0
    ./jvm/internal/StaleClassCleaner.java
  1. … 28 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

    • -28
    • +0
    ./java/artifact/JavadocArtifact.java
    • -74
    • +0
    ./java/internal/DefaultJavaSourceSet.java
    • -108
    • +0
    ./java/plugins/JavaLanguagePlugin.java
    • -0
    • +28
    ./jvm/artifact/JavadocArtifact.java
    • -0
    • +20
    ./jvm/artifact/package-info.java
    • -0
    • +47
    ./jvm/internal/JvmPluginServiceRegistry.java
  1. … 311 more files in changeset.
Extract core JVM platform classes into new subproject ‘platform-jvm’

    • -0
    • +47
    ./java/internal/JvmPluginServiceRegistry.java
  1. … 89 more files in changeset.
just support one outputtype for now in LanguageRegistration

+review REVIEW-5076

    • -9
    • +2
    ./java/plugins/JavaLanguagePlugin.java
    • -10
    • +2
    ./jvm/plugins/JvmResourcesPlugin.java
  1. … 4 more files in changeset.
- remove internal componentSpecInternal from DefaultLibrarySpec for now - rename LanguageOutputType to TransformationFileType.

+review REVIEW-5076

    • -3
    • +3
    ./java/plugins/JavaLanguagePlugin.java
  1. … 12 more files in changeset.
rename/move LanguageOutputTypes

+review REVIEW-5076

    • -2
    • +3
    ./java/plugins/JavaLanguagePlugin.java
    • -26
    • +0
    ./java/plugins/JvmByteCodeOutput.java
    • -28
    • +0
    ./jvm/plugins/JvmResourcesOutput.java
  1. … 13 more files in changeset.
add some unit test coverage for ComponentModelBasePluginTest

+review REVIEW-5076

    • -1
    • +1
    ./java/plugins/JavaLanguagePlugin.java
  1. … 1 more file in changeset.
make ObjectFileLanguageOutputType not internal; mark stuff as incubating

+review REVIEW-5076

  1. … 5 more files in changeset.
only attach source sets of relevant languages to component

- introduce LanguageOutputType for modelling language output

- keep registering factories for all kinds of provided SourceSet types for _all_ functional sourcesets in project#sources

- just create default languageSourceSet where component inputs (partially) match language output

- update integtests

TODO: handle custom libraries (currently returning empty set of component inputs); handle 3party language output / language plugins / components

+review REVIEW-5076

    • -2
    • +12
    ./java/plugins/JavaLanguagePlugin.java
    • -0
    • +23
    ./java/plugins/JvmByteCodeOutput.java
    • -0
    • +23
    ./jvm/plugins/JvmResourcesOutput.java
    • -0
    • +13
    ./jvm/plugins/JvmResourcesPlugin.java
  1. … 39 more files in changeset.
more renamings

ProjectBinary -> BinarySpec

ProjectBinaryInternal -> BinarySpecInternal

ProjectJarBinary -> JarBinarySpec

ProjectJvmLibraryBinary -> JvmLibraryBinarySpec

ProjectNativeBinaryTest -> NativeBinarySpecTest

+ several default implementations according to their related interfaces

    • -6
    • +6
    ./java/plugins/JavaLanguagePlugin.java
  1. … 59 more files in changeset.
Don’t require a Project instance to instantiate a language source set

- Use FileResolver where required

- Removed ConfigurationBasedNativeDependencySet (finally!)

    • -5
    • +18
    ./java/internal/DefaultJavaSourceSet.java
    • -3
    • +3
    ./jvm/internal/DefaultResourceSet.java
  1. … 15 more files in changeset.
@Incubating.

Infrastructure creates tasks for JavaLanguage and JvmResources plugins

    • -42
    • +34
    ./java/plugins/JavaLanguagePlugin.java
    • -32
    • +23
    ./jvm/plugins/JvmResourcesPlugin.java
  1. … 5 more files in changeset.
Native language plugins do no more than register a language

- Creation of compile tasks for language is in NativeComponentsPlugin

- Not yet pushed down into general component infrastructure

    • -0
    • +4
    ./java/plugins/JavaLanguagePlugin.java
  1. … 11 more files in changeset.
Extract common infrastructure for creating compile tasks

- Task instances are created by infrastructure, configured by plugin

- Common plugin code for C/C++/ObjectiveC/ObjectiveC++

- Separate for Assembler/WindowsResources

- Jvm plugins not yet integrated

- ‘c’, ‘cpp’, etc plugins now simply combine component model with language support.

    • -0
    • +6
    ./java/plugins/JavaLanguagePlugin.java
  1. … 18 more files in changeset.
Language registration includes defined binary tool extensions

- For any language, a number of ‘tools’ can be defined

- These tools are added as extension to each binary on construction

    • -0
    • +7
    ./java/plugins/JavaLanguagePlugin.java
  1. … 18 more files in changeset.
Move language registration closer to being static

- Plugins declare a LanguageRegistration class with language meta-data

- Migrated native-lang plugins to Java

    • -1
    • +16
    ./java/plugins/JavaLanguagePlugin.java
    • -1
    • +17
    ./jvm/plugins/JvmResourcesPlugin.java
  1. … 23 more files in changeset.
Replace uses of model rules with rule source classes.

The goal is to get rid of the model rules class to make evolving the model registry easier. Only benefit of this change at this point is the improved error reporting due to the strong rule identity provided by rule sources.

    • -26
    • +14
    ./java/plugins/JavaLanguagePlugin.java
    • -16
    • +10
    ./jvm/plugins/JvmResourcesPlugin.java
  1. … 33 more files in changeset.
Extracted plugin to assist with migration to model rules

- ComponentModelBasePlugin now has source set defaults which are incompatible with legacy java plugin

- Fixes building gradle with latest gradle with JDK 1.8

    • -3
    • +3
    ./java/plugins/JavaLanguagePlugin.java
  1. … 10 more files in changeset.
Added JavaToolChain to ProjectJvmLibraryBinary

    • -5
    • +2
    ./java/plugins/JavaLanguagePlugin.java
  1. … 9 more files in changeset.
Renamed ProjectJvmBinary -> ProjectJvmLibraryBinary

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

  1. … 5 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

    • -2
    • +2
    ./java/plugins/JavaLanguagePlugin.java
  1. … 22 more files in changeset.
More reworking of native/jvm component models

- Moved ‘extends BuildableModelElement, Named’ from Binary to ProjectBinary

- ‘binaries’ is now a container of ProjectBinary instances

- Dependency resolution converts ProjectBinary to Binary instances

- PrebuiltLibrary has a set of NativeLibraryBinary

    • -2
    • +2
    ./java/plugins/JavaLanguagePlugin.java
  1. … 21 more files in changeset.
Made LanguageRegistry internal: we don’t want to ever expose it this way

    • -1
    • +1
    ./java/plugins/JavaLanguagePlugin.java
  1. … 13 more files in changeset.
Compile java sources included in JvmLibraryBinary

    • -3
    • +60
    ./java/plugins/JavaLanguagePlugin.java
  1. … 3 more files in changeset.