diff --git a/build.gradle b/build.gradle index 6e7fa64..db89dfa 100644 --- a/build.gradle +++ b/build.gradle @@ -4,22 +4,17 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:1.0.0' + classpath 'com.github.dcendents:android-maven-plugin:1.2' } } + apply plugin: 'com.android.library' +apply plugin: 'com.github.dcendents.android-maven' + +group = 'org.microg' +version = '1.0-SNAPSHOT' + android { compileSdkVersion 21 buildToolsVersion "21.1.2" - lintOptions.abortOnError false - - sourceSets { - main { - manifest.srcFile 'AndroidManifest.xml' - java.srcDirs = ['src'] - aidl.srcDirs = ['src'] - } - } -} - -dependencies { } diff --git a/AndroidManifest.xml b/src/main/AndroidManifest.xml similarity index 100% rename from AndroidManifest.xml rename to src/main/AndroidManifest.xml diff --git a/src/org/microg/safeparcel/AutoSafeParcelable.java b/src/main/java/org/microg/safeparcel/AutoSafeParcelable.java similarity index 100% rename from src/org/microg/safeparcel/AutoSafeParcelable.java rename to src/main/java/org/microg/safeparcel/AutoSafeParcelable.java diff --git a/src/org/microg/safeparcel/SafeParcelReader.java b/src/main/java/org/microg/safeparcel/SafeParcelReader.java similarity index 100% rename from src/org/microg/safeparcel/SafeParcelReader.java rename to src/main/java/org/microg/safeparcel/SafeParcelReader.java diff --git a/src/org/microg/safeparcel/SafeParcelUtil.java b/src/main/java/org/microg/safeparcel/SafeParcelUtil.java similarity index 100% rename from src/org/microg/safeparcel/SafeParcelUtil.java rename to src/main/java/org/microg/safeparcel/SafeParcelUtil.java diff --git a/src/org/microg/safeparcel/SafeParcelWriter.java b/src/main/java/org/microg/safeparcel/SafeParcelWriter.java similarity index 100% rename from src/org/microg/safeparcel/SafeParcelWriter.java rename to src/main/java/org/microg/safeparcel/SafeParcelWriter.java diff --git a/src/org/microg/safeparcel/SafeParcelable.java b/src/main/java/org/microg/safeparcel/SafeParcelable.java similarity index 100% rename from src/org/microg/safeparcel/SafeParcelable.java rename to src/main/java/org/microg/safeparcel/SafeParcelable.java diff --git a/src/org/microg/safeparcel/SafeParceled.java b/src/main/java/org/microg/safeparcel/SafeParceled.java similarity index 100% rename from src/org/microg/safeparcel/SafeParceled.java rename to src/main/java/org/microg/safeparcel/SafeParceled.java