gradle-thrift-plugin


Лицензия

Лицензия

Категории

Категории

Gradle Компиляция и сборка
Группа

Группа

co.tomlee.gradle.plugins
Идентификатор

Идентификатор

gradle-thrift-plugin
Последняя версия

Последняя версия

0.0.6
Дата

Дата

Тип

Тип

jar
Описание

Описание

gradle-thrift-plugin
gradle-thrift-plugin
Ссылка на сайт

Ссылка на сайт

http://github.com/thomaslee/gradle-thrift-plugin
Система контроля версий

Система контроля версий

http://github.com/thomaslee/gradle-thrift-plugin

Скачать gradle-thrift-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/co.tomlee.gradle.plugins/gradle-thrift-plugin/ -->
<dependency>
    <groupId>co.tomlee.gradle.plugins</groupId>
    <artifactId>gradle-thrift-plugin</artifactId>
    <version>0.0.6</version>
</dependency>
// https://jarcasting.com/artifacts/co.tomlee.gradle.plugins/gradle-thrift-plugin/
implementation 'co.tomlee.gradle.plugins:gradle-thrift-plugin:0.0.6'
// https://jarcasting.com/artifacts/co.tomlee.gradle.plugins/gradle-thrift-plugin/
implementation ("co.tomlee.gradle.plugins:gradle-thrift-plugin:0.0.6")
'co.tomlee.gradle.plugins:gradle-thrift-plugin:jar:0.0.6'
<dependency org="co.tomlee.gradle.plugins" name="gradle-thrift-plugin" rev="0.0.6">
  <artifact name="gradle-thrift-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='co.tomlee.gradle.plugins', module='gradle-thrift-plugin', version='0.0.6')
)
libraryDependencies += "co.tomlee.gradle.plugins" % "gradle-thrift-plugin" % "0.0.6"
[co.tomlee.gradle.plugins/gradle-thrift-plugin "0.0.6"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

gradle-thrift-plugin

Put your thrift files in src/main/thrift.

Configuration example:

apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'thrift'

buildscript {
    repositories {
        mavenCentral()
    }

    dependencies {
        classpath 'co.tomlee.gradle.plugins:gradle-thrift-plugin:0.0.6'
    }
}

repositories {
    mavenCentral()
}

dependencies {
    //
    // adjust for your Thrift version ...
    //
    compile 'org.apache.thrift:libthrift:0.9.1'
}

generateThriftSource {
    //
    // The output directory (optional)
    //
    out file('build/generated-src/thrift/main')

    //
    // -verbose / -debug / -strict (all optional)
    //
    verbose false
    debug false
    strict false

    //
    // Modify the include path (optional)
    //
    path file('vendor/thrift')

    //
    // Set the thrift executable (optional)
    //
    executable '/usr/bin/thrift'

    generators {
        //
        // --gen java:hashcode,beans
        //
        java {
            //
            // Options passed to the `java` generator
            //
            option 'hashcode'
            option 'beans'
        }

        //
        // --gen go
        //
        go {
            //
            // Output directory can be set on a per-generator basis too
            //
            out file('build/generated-src/thrift/go-main')
        }
    }
}

//
// optional: add generated sources as a source directory in IDEA
//
idea.module.excludeDirs = []
idea.module.sourceDirs += file('build/generated-src/thrift/main')
idea.module.jdkName = '1.8'

Версии библиотеки

Версия
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1