Last active
April 6, 2020 10:41
-
-
Save vusimoy0/90c3d5f61f8383abebb5647d848181a4 to your computer and use it in GitHub Desktop.
build.gradle template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#import "./shared_macros.ftl" as shared> | |
<#import "root://activities/common/kotlin_macros.ftl" as kt> | |
<#if isLibraryProject> | |
apply plugin: 'com.android.library' | |
<#elseif isDynamicFeature> | |
apply plugin: 'com.android.dynamic-feature' | |
<#else> | |
apply plugin: 'com.android.application' | |
</#if> | |
<@kt.addKotlinPlugins /> | |
<!-- omitted some lines for beverity --> | |
dependencies { | |
${getConfigurationName("compile")} fileTree(dir: 'libs', include: ['*.jar']) | |
<!-- omitted some lines for beverity --> | |
<#if isDynamicFeature> | |
implementation project(':${baseFeatureName}') | |
<#elseif (WearprojectName?has_content) && (Mobileincluded!false) && (Wearincluded!false)> | |
wearApp project(':${WearprojectName}') | |
</#if> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment