Skip to content

Commit ab50c52

Browse files
author
plamen5kov
committed
run static binding generator by default
1 parent e8ba43f commit ab50c52

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

build/project-template-gradle/build.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* -PbuildToolsVersion=[build_tools_version] (default is 22.0.1)
1515
* -PsupportVersion=[support_version] (default (22.2.0)
1616
* -PcompileSdk=[compile_sdk_version] (default 22)
17-
*
18-
* -PrunSBGenerator //this flag will triger static binding generation
1917
*/
2018

2119
buildscript {
@@ -40,7 +38,6 @@ def nodeModulesDir = "../../node_modules/"
4038
def libDir = "$projectDir/../../lib/Android/"
4139
def pluginNames = new ArrayList<String>()
4240
def configDir = file(configurationsDir)
43-
def shouldRunBindingGenerator = project.hasProperty("runSBGenerator")
4441

4542
def compiteCompileSdkVersion () {
4643
if(project.hasProperty("compileSdk")) {
@@ -138,10 +135,7 @@ android {
138135

139136
def generateBuildConfigTask = variant.generateBuildConfig;
140137
generateBuildConfigTask.finalizedBy(collectAllJars)
141-
142-
if(shouldRunBindingGenerator) {
143-
collectAllJars.finalizedBy(setProperties)
144-
}
138+
collectAllJars.finalizedBy(setProperties)
145139

146140
compileSourcesTask.finalizedBy(buildMetadata)
147141
}

0 commit comments

Comments
 (0)