Open paulbutcher opened 13 years ago
Thinking further about this - maxSdkVersion is unused and minSdkVersion only used for this one instance, which in turn is only used to determine addonsPath.
How about we ditch min/maxSdkVersion entirely and instead of requiring a project to define androidPlatformName, require it to define apiLevel (from which we can then derive androidPlatformName)?
yes this sounds good. i think we can get rid of add-ons path alltogether since the addons could be pulled in via dependencies.
What is the intended format for
androidPlatformName
?https://github.com/n8han/android-app.g8 defines it to be
android-$api_level$
(i.e. something likeandroid-7
). And this makes sense given that:But
platformName2ApiLevel
clearly expects it to be of a different form, for exampleandroid-2.1
:androidPlatformName
is only used ifminSdkVersion
isn't set. Is the right thing to do to require thatminSdkVersion
is set and ditchplatformName2ApiLevel
? Or something else?