diff --git a/.gitignore b/.gitignore index 525d50ce..deb7f6da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ local.properties -.gradle -.idea -out +.gradle/ +.idea/ +out/ +build/ +target/ +classes/ \ No newline at end of file diff --git a/KdeConnect/KdeConnect.iml b/KdeConnect.iml similarity index 89% rename from KdeConnect/KdeConnect.iml rename to KdeConnect.iml index 22a89c1c..57035bfd 100644 --- a/KdeConnect/KdeConnect.iml +++ b/KdeConnect.iml @@ -1,5 +1,5 @@ - + @@ -17,13 +17,13 @@ - - + - + @@ -56,6 +56,9 @@ + + + @@ -67,13 +70,11 @@ - + - - diff --git a/KdeConnect/.gitignore b/KdeConnect/.gitignore deleted file mode 100644 index 567609b1..00000000 --- a/KdeConnect/.gitignore +++ /dev/null @@ -1 +0,0 @@ -build/ diff --git a/KdeConnect/build.gradle b/KdeConnect/build.gradle deleted file mode 100644 index 8eac437a..00000000 --- a/KdeConnect/build.gradle +++ /dev/null @@ -1,26 +0,0 @@ -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath 'com.android.tools.build:gradle:0.5.+' - } -} -apply plugin: 'android' - -dependencies { - compile "com.android.support:appcompat-v7:18.0.+" - compile files('libs/android-support-v4.jar') - compile files('libs/mina-core-2.0.7.jar') - compile files('libs/slf4j-api-1.6.6.jar') -} - -android { - compileSdkVersion 18 - buildToolsVersion "18.0.1" - - defaultConfig { - minSdkVersion 9 - targetSdkVersion 18 - } -} diff --git a/KdeConnect/libs/android-support-v7-appcompat.jar b/KdeConnect/libs/android-support-v7-appcompat.jar deleted file mode 100644 index b5f52924..00000000 Binary files a/KdeConnect/libs/android-support-v7-appcompat.jar and /dev/null differ diff --git a/StaticMessages.sh b/StaticMessages.sh index df7e27e4..e9d93d20 100644 --- a/StaticMessages.sh +++ b/StaticMessages.sh @@ -7,7 +7,7 @@ function export_pot_file # First parameter will be the path of the pot file we h { potfile=$1 mkdir outdir - a2po export --android KdeConnect/src/main/res/ --gettext outdir + a2po export --android src/main/res/ --gettext outdir mv outdir/template.pot $potfile rm -rf outdir } @@ -15,7 +15,7 @@ function export_pot_file # First parameter will be the path of the pot file we h function import_po_files # First parameter will be a path that will contain several .po files with the format LANG.po { podir=$1 - a2po import --android KdeConnect/src/main/res/ --gettext $podir + a2po import --android src/main/res/ --gettext $podir } diff --git a/build.gradle b/build.gradle index f82180e3..efaa2bc8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,2 +1,27 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:0.5.+' + } +} +apply plugin: 'android' + +dependencies { + compile "com.android.support:support-v4:18.0.+" + compile "com.android.support:appcompat-v7:18.0.+" + compile files('libs/mina-core-2.0.7.jar') + compile files('libs/slf4j-api-1.6.6.jar') +} + +android { + compileSdkVersion 18 + buildToolsVersion "18.1" + + defaultConfig { + minSdkVersion 9 + targetSdkVersion 18 + } +} diff --git a/kdeconnect-android.iml b/kdeconnect-android.iml deleted file mode 100644 index 94f1c61c..00000000 --- a/kdeconnect-android.iml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/KdeConnect/libs/mina-core-2.0.7.jar b/libs/mina-core-2.0.7.jar similarity index 100% rename from KdeConnect/libs/mina-core-2.0.7.jar rename to libs/mina-core-2.0.7.jar diff --git a/KdeConnect/libs/slf4j-api-1.6.6.jar b/libs/slf4j-api-1.6.6.jar similarity index 100% rename from KdeConnect/libs/slf4j-api-1.6.6.jar rename to libs/slf4j-api-1.6.6.jar diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index 7ae9e3da..00000000 --- a/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -include ':KdeConnect' diff --git a/KdeConnect/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml similarity index 99% rename from KdeConnect/src/main/AndroidManifest.xml rename to src/main/AndroidManifest.xml index 7ae3554f..64b3233a 100644 --- a/KdeConnect/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -44,7 +44,6 @@ - @@ -57,8 +56,7 @@ > - - + - - - + xmlns:kdeconnect="http://schemas.android.com/apk/res-auto/android">