This is an experiment to use Ceylon to write Gradle scripts.
Not usable. This was a simple experiment but basically I won't work on this anymore as there are better way to integrate Gradle+Ceylon, arguably using the Gradle embeddable API for instance
The Ceylon-Gradle script is here
The directories in the source tree are :
ceylon
A Ceylon project with :ceylon/source/script
the Gradle script written in Ceylonceylon/source/org/ceylongradle
The Gradle/Ceylon binding librarysrc
The src directory for the plain Java Gradle test project (not yet used)build.gradle
andsettings.gradle
The regular Gradle scripts used to bootstrap the Ceylon Gradle script.
To execute the Gradle script :
- You need Gradle in your PATH
- You must import this Gradle fatjar in your Ceylon repos as
gradleall/2.2.1
- compile the ceylon project located in
ceylon
directory (via the Ceylon CLIceylon compile
or import the Ceylon project in the Ceylon IDE) - in the root directory try to run
gradle mytask
to execute one task define inceylon/source/script