blob: 1f4cea76d074a1c14f1cf1a9bbbb5fc0127f18da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{%- set mainClass = target.app_main_class -%}
{%- set publish = target.publish -%}
{%- set with_kotlin = target.with_kotlin -%}
{%- set kotlin_version = target.kotlin_version -%}
{%- set has_junit5_test = extra_targets|selectattr('junit5_test') -%}
{%- set has_errorprone = target.consumer|selectattr('jar', 'startsWith', 'contrib/java/com/google/errorprone/error_prone_annotations')|length -%}
{%- if not target.required_jdk -%}
{%- set has_required_jdk = false -%}
{#- If no required JDK, set default JDK for Kotlin parts -#}
{%- set required_jdk = '17' -%}
{%- else -%}
{%- set has_required_jdk = true -%}
{%- set required_jdk = target.required_jdk -%}
{%- endif -%}
|