Skip to content

Model Compiler for Java

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
license-report.md
Notifications You must be signed in to change notification settings

SpineEventEngine/mc-java

Repository files navigation

Spine Model Compiler for Java

Ubuntu build codecov.io   license

This repository hosts the Java-specific parts of the Spine Model Compiler.

Usage

To use the Java part of the Model Compiler in Gradle, declare the dependency in buildscript block:

buildscript {
    //...
    
    val mcJavaVersion = ...

    dependencies {
        classpath("io.spine.tools:spine-mc-java-plugins:${mcJavaVersion}:all")
    }
    // ...
}

//...

apply plugin: "io.spine.mc-java"

Then, configure the plugin in scope of the particular Gradle project:

modelCompiler {
    java {
        // Specify the options here.
    }
}

See mc-java-protoc documentation for more detail.

Model Compilers for other languages:

See the common parts of Model Compiler at SpineEventEngine/model-compiler.

Environment

The modules in this repository are built with Java 11.

Performance testing

This repo includes the BuildSpeed submodule with the performance tests for the Spine tools. The tests are executed in a GH Action. To run the tests locally, launch the checkPerformance Gradle task. The task execution time will be printed to the console and the journal file will be updated.

About

Model Compiler for Java

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
license-report.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Languages