diff --git a/dependencies/android/build.gradle b/dependencies/android/build.gradle new file mode 100644 index 0000000..a5f28ca --- /dev/null +++ b/dependencies/android/build.gradle @@ -0,0 +1,22 @@ +buildscript { + repositories { + mavenCentral() + google() + } + + dependencies { + classpath 'com.android.tools.build:gradle:::ANDROID_GRADLE_PLUGIN::' + } +} + +apply plugin: 'com.android.library' + +android { + namespace "ru.m.android" + compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) + buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION +} + +dependencies { + implementation project(':deps:extension-api') +} diff --git a/dependencies/android/build.xml b/dependencies/android/build.xml deleted file mode 100644 index b046d16..0000000 --- a/dependencies/android/build.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/dependencies/android/project.properties b/dependencies/android/project.properties deleted file mode 100644 index 816ab69..0000000 --- a/dependencies/android/project.properties +++ /dev/null @@ -1,3 +0,0 @@ -android.library=true -android.library.reference.1=../extension-api -target=android-::ANDROID_TARGET_SDK_VERSION:: diff --git a/dependencies/android/AndroidManifest.xml b/dependencies/android/src/main/AndroidManifest.xml similarity index 71% rename from dependencies/android/AndroidManifest.xml rename to dependencies/android/src/main/AndroidManifest.xml index fd7579b..6eb7253 100644 --- a/dependencies/android/AndroidManifest.xml +++ b/dependencies/android/src/main/AndroidManifest.xml @@ -1,3 +1,2 @@ - - + \ No newline at end of file diff --git a/dependencies/android/src/ru/m/android/FileUtil.java b/dependencies/android/src/main/java/ru/m/android/FileUtil.java similarity index 100% rename from dependencies/android/src/ru/m/android/FileUtil.java rename to dependencies/android/src/main/java/ru/m/android/FileUtil.java