Skip to content

Commit 97e9b98

Browse files
committed
move config from manifest to gradle
1 parent a26e702 commit 97e9b98

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

example/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ android {
1818
compileSdkVersion 21
1919
buildToolsVersion '21.1.0'
2020

21+
defaultConfig {
22+
applicationId "com.makeramen.roundedimageview.example"
23+
minSdkVersion 8
24+
targetSdkVersion 21
25+
versionCode 1
26+
versionName version
27+
}
28+
2129
compileOptions {
2230
sourceCompatibility JavaVersion.VERSION_1_7
2331
targetCompatibility JavaVersion.VERSION_1_7

example/src/main/AndroidManifest.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.makeramen.example"
4-
android:versionCode="1"
5-
android:versionName="1.0">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
63

74
<uses-permission android:name="android.permission.INTERNET" />
85

9-
<uses-sdk
10-
android:minSdkVersion="14"
11-
android:targetSdkVersion="18" />
12-
136
<application
147
android:allowBackup="true"
158
android:icon="@drawable/ic_launcher"

roundedimageview/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ android {
99
compileSdkVersion 21
1010
buildToolsVersion '21.1.0'
1111

12+
defaultConfig {
13+
minSdkVersion 8
14+
targetSdkVersion 21
15+
versionCode 1
16+
versionName version
17+
}
18+
1219
compileOptions {
1320
sourceCompatibility JavaVersion.VERSION_1_7
1421
targetCompatibility JavaVersion.VERSION_1_7
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.makeramen"
3-
android:versionCode="1"
4-
android:versionName="1.0.0">
5-
6-
<uses-sdk
7-
android:minSdkVersion="8"
8-
android:targetSdkVersion="18" />
9-
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
102
</manifest>

0 commit comments

Comments
 (0)