Skip to content

Commit b7dfba5

Browse files
committed
Adding android maven plugin
1 parent b5c0a11 commit b7dfba5

10 files changed

Lines changed: 187 additions & 196 deletions

File tree

.idea/libraries/appcompat_v7_22_2_0.xml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.idea/libraries/support_annotations_22_2_0.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.idea/libraries/support_v4_22_2_0.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 179 additions & 130 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/app.iml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@
9191
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
9292
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" />
9393
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex-cache" />
94-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/jars" />
95-
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/jars" />
9694
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
9795
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jacoco" />
9896
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaResources" />
@@ -108,10 +106,7 @@
108106
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
109107
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
110108
</content>
111-
<orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" />
109+
<orderEntry type="jdk" jdkName="Android API 10 Platform" jdkType="Android SDK" />
112110
<orderEntry type="sourceFolder" forTests="false" />
113-
<orderEntry type="library" exported="" name="support-v4-22.2.0" level="project" />
114-
<orderEntry type="library" exported="" name="support-annotations-22.2.0" level="project" />
115-
<orderEntry type="library" exported="" name="appcompat-v7-22.2.0" level="project" />
116111
</component>
117112
</module>

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'android-maven'
23

34
android {
4-
compileSdkVersion 22
5+
compileSdkVersion 10
56
buildToolsVersion "22.0.1"
67

78
defaultConfig {
89
minSdkVersion 15
910
targetSdkVersion 22
1011
versionCode 1
11-
versionName "1.0"
12+
versionName "1.1"
1213
}
1314
buildTypes {
1415
release {
@@ -28,5 +29,4 @@ android {
2829

2930
dependencies {
3031
compile fileTree(dir: 'libs', include: ['*.jar'])
31-
compile 'com.android.support:appcompat-v7:22.2.0'
3232
}

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.sandro.jitpackdemo">
1+
<manifest package="com.sandro.jitpackdemo">
32

4-
<application android:allowBackup="true" android:label="@string/app_name"
5-
android:icon="@mipmap/ic_launcher" android:theme="@style/AppTheme">
6-
7-
</application>
3+
<application />
84

95
</manifest>

app/src/main/res/values/styles.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ buildscript {
66
}
77
dependencies {
88
classpath 'com.android.tools.build:gradle:1.2.3'
9+
classpath 'com.github.dcendents:android-maven-plugin:1.2'
910

1011
// NOTE: Do not place your application dependencies here; they belong
1112
// in the individual module build.gradle files

0 commit comments

Comments
 (0)