Automatically insert build.gradle into an extension if it isn't there.
This commit is contained in:
committed by
Joshua Granick
parent
9d19f8a88f
commit
ecb799128b
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user