
Welcome to the world of Apache Polygene
   - Composite Oriented Programming on the Java platform.


This Apache Polygene™ Source Distribution contains everything you need to
create Polygene™ applications.


Polygene™ started in 2007, and is still in heavy development under the umbrella
of the Apache Polygene™ project at the Apache Software Foundation. We would
like developers around the world to participate in the advancement of this
cool, new and challenging technology. We are especially interested in
people willing to help improve the SDK, samples, tutorials, documentation
and other supporting material.

Please see https://polygene.apache.org for more information.


Licensing
---------
All Polygene™ code is licensed subject to the Apache License.

Third-Party Dependencies may be licensed under other terms. The only
required dependencies are SLF4J (MIT Licence) and ASM (BSD Licence).

Finally, Polygene™ TestSupport depends on JUnit 4.x and its dependencies, which
is also not included in the SDK itself, as it is present among most Java
developers.


Dependencies not included
-------------------------
The source distribution contains Polygene™ sources only to keep the download
size small. The Gradle build automatically downloads needed dependencies.
If you need to go offline type `./gradlew goOffline` to ensure all needed
dependencies are cached by Gradle.

If you prefer to use a dependency management system, go to:
https://polygene.apache.org/java/latest/howto-depend-on-polygene.html


Building Apache Polygene
---------------------
To build Polygene™ from sources you only need to have a valid Java JDK >= 8
installation and any version of Gradle.

This distribution embeds the exact version of Gradle needed to build Polygene™.
Here is how to bootstrap that version:

    gradle -b gradle/wrapper-install/build.gradle install

This will deploy the Gradle Wrapper and create gradlew and gradlew.bat script
files that you should use from now on.

Once you have the wrapper installed you can invoke the build system.

Here is how to run a full build with checks:

    ./gradlew check assemble

Running gradlew for the first time will download the required Gradle
distribution. You can run ./gradlew tasks to list available tasks.

Read the Polygene™ Build System tutorial for more details:
https://polygene.apache.org/java/latest/build-system.html


Thank you for trying out Apache Polygene™ and Composite Oriented Programming.


-- Apache Polygene™ Team

