GitHub user bjhargrave opened a pull request:

    https://github.com/apache/incubator-quarks/pull/131

    [QUARKS-139] Alternative gradle build

    Here is another go at a gradle build replacement for quarks.
    
    This build has minimal `build.gradle` files in each project and 
concentrates the build logic in the root project `build.gradle` file.
    
    This build tries to use the standard gradle way of doing things. Output is 
placed in the standard gradle places. e.g. `build/libs` for generated jar file. 
Inter-project dependencies are expressed using `project(':api:topology')` form. 
External jars are referenced using mavenCentral to avoid the need to place 
binaries in the build.
    
    The build completes and tests pass running `./gradlew build`.
    
    This only builds the projects with Java 8. More work is of course needed to 
complete the build in gradle such as the Java 7 and Android part as well as any 
packaging steps to package the generated jars into some distribution shape.
    
    Eventually, I want to apply the `biz.aQute.bnd.builder` plugin to generate 
OSGi metadata for each generated jar to allow the jars to be used in OSGi 
runtimes such as Eclipse Kura.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bjhargrave/incubator-quarks gradle-build

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-quarks/pull/131.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #131
    
----
commit d5cc0cfb85343558b45c071a6ce5386c1466833b
Author: BJ Hargrave <[email protected]>
Date:   2016-06-06T19:53:55Z

    gradle: .gitignores for gradle build

commit 9574ab0891d452bf1c91b54048ae2e316edd7f6f
Author: BJ Hargrave <[email protected]>
Date:   2016-06-06T19:54:16Z

    gradle: Add gradle wrapper

commit b95599986437898255628aa811b4d23d8aa65cd5
Author: BJ Hargrave <[email protected]>
Date:   2016-06-08T18:16:21Z

    gradle: Initial Java 8 build

commit c52ecf7ca8ec1f31ed99c4e944f02185f56833c4
Author: BJ Hargrave <[email protected]>
Date:   2016-06-08T19:32:29Z

    gradle: Update ServerUtil to find webapps folder in gradle build

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to