File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
mode/src/processing/mode/android Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -379,12 +379,14 @@ private void createAppModule(String moduleName)
379
379
tmplFile = exportProject ? APP_GRADLE_BUILD_TEMPLATE : APP_GRADLE_BUILD_ECJ_TEMPLATE ;
380
380
}
381
381
382
+ String modePath = new File (mode .getFolder (), "mode" ).getAbsolutePath ();
382
383
String toolPath = Base .getToolsFolder ().getPath ().replace ('\\' , '/' );
383
384
String platformPath = sdk .getTargetPlatform (TARGET_SDK ).getPath ().replace ('\\' , '/' );
384
385
385
386
File appBuildTemplate = mode .getContentFile ("templates/" + tmplFile );
386
387
File appBuildFile = new File (moduleFolder , "build.gradle" );
387
388
HashMap <String , String > replaceMap = new HashMap <String , String >();
389
+ replaceMap .put ("@@mode_folder@@" , modePath );
388
390
replaceMap .put ("@@tools_folder@@" , toolPath );
389
391
replaceMap .put ("@@target_platform@@" , platformPath );
390
392
replaceMap .put ("@@package_name@@" , getPackageName ());
You can’t perform that action at this time.
0 commit comments