Skip to content

Commit

Permalink
* support android-N
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintin committed Apr 8, 2016
1 parent 46cb4c5 commit 243e155
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion andle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import andle.android
import andle.sdk

__version__ = "1.5.4"
__version__ = "1.5.5"


def update(path, dryrun, remote, gradle):
Expand Down
5 changes: 4 additions & 1 deletion andle/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ def check_dependency(word, data):
# find compileSdkVersion tag
if first == "compileSdkVersion":
platforms = word[1]
update_value("compileSdkVersion", platforms, data["platforms"])
if data["platforms"] == "N":
update_value("compileSdkVersion", platforms, "android-N")
else:
update_value("compileSdkVersion", platforms, data["platforms"])
return True
# find buildToolsVersion tag
elif first == "buildToolsVersion":
Expand Down

0 comments on commit 243e155

Please sign in to comment.