Automatically insert build.gradle into an extension if it isn't there.

This commit is contained in:
player-03
2016-05-26 06:00:21 -04:00
committed by Joshua Granick
parent 9d19f8a88f
commit ecb799128b
2 changed files with 15 additions and 0 deletions

View File

@@ -35,6 +35,9 @@ class CreateTemplate {
context.extensionLowerCase = extension.toLowerCase ();
context.extensionUpperCase = extension.toUpperCase ();
context.ANDROID_TARGET_SDK_VERSION = "::ANDROID_TARGET_SDK_VERSION::";
context.ANDROID_MINIMUM_SDK_VERSION = "::ANDROID_MINIMUM_SDK_VERSION::";
context.META_BUILD_NUMBER = "::META_BUILD_NUMBER::";
context.META_VERSION = "::META_VERSION::";
PathHelper.mkdir (title);
FileHelper.recursiveCopyTemplate ([ PathHelper.getHaxelib (new Haxelib ("lime"), true) + "/templates" ], "extension", title, context);