blob: faf33ccd3aad2b7aa47c65222206e53db0d191db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
plugins {
{%- if not(proto_template) and mainClass %}
`application`
{%- else %}
`java-library`
{%- endif %}
{%- if proto_template %}
id("com.google.protobuf") version "{{ ver_protobuf }}"
{%- endif -%}
{%- if with_kotlin and kotlin_version %}
kotlin("jvm") version "{{ kotlin_version }}"
{%- if with_kotlinc_plugin_allopen|length %}
kotlin("plugin.allopen") version "{{ kotlin_version }}"
{%- endif -%}
{%- if with_kotlinc_plugin_lombok|length %}
kotlin("plugin.lombok") version "{{ kotlin_version }}"
{%- endif -%}
{%- if with_kotlinc_plugin_noarg|length %}
kotlin("plugin.noarg") version "{{ kotlin_version }}"
{%- endif -%}
{%- if with_kotlinc_plugin_serialization|length %}
kotlin("plugin.serialization") version "{{ kotlin_version }}"
{%- endif -%}
{%- if with_kapt or with_test_kapt %}
kotlin("kapt") version "{{ kotlin_version }}"
{%- endif -%}
{%- endif -%}
{%- if with_errorprone or with_test_errorprone %}
id("net.ltgt.errorprone") version "{{ ver_errorprone }}"
{%- endif -%}
{%- if with_lombok_plugin %}
id("io.freefair.lombok") version "{{ ver_lombok_plugin }}"
{%- endif %}
{%- if solomon_checkstyle and not(proto_template) %}
checkstyle
{%- endif %}
{%- if idea_content_root %}
id("org.jetbrains.gradle.plugin.idea-ext") version "1.4.1"
{%- endif %}
}
|