jmromeroes / mc-java

Model Compiler for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Model Compiler for Java

License:Apache License 2.0


Languages

Language:Kotlin 51.8%Language:Java 47.8%Language:Shell 0.2%Language:CSS 0.2%Language:Batchfile 0.0%