Skip to content

keidrun/l2l-face

Repository files navigation

l2l-face

tests coverage

L2L (Language To Language: Program conversion command) Plugin Interfaces

Getting Started with Developing Your L2L Plugin

Please follow the below steps to develop your L2L plugin.

Step 1: Make your plugin application for the Gradle application

Your application's name need follow the naming rule.

The naming rule is simple. Please use l2l-XxxxxToYyyyy-plugin if you covert Xxxxx language to Yyyyy language.

Step 2: Add the configuration to your Gradle build script

You add the following configuration to your build.gradle file. ${version} is the release version.

repositories {
    jcenter()
}

dependencies {
    compile "com.keidrun.l2l-face:l2l-face:${version}"
}

Or

repositories {
    jcenter()

    maven {
        url "http://dl.bintray.com/keidrun/l2l-face"
    }
}

dependencies {
    compile "com.keidrun.l2l-face:l2l-face:${version}"
}

Step 3: Implement interfaces

You need implement the following interface as the L2L plugin.

com.keidrun.l2l.face.plugin.ConvertPlugin

Step 4: Publish your plugin

Please publish your L2L plugin to Jcenter or Maven Central Repository or both.