Skip to content

Commit e7058df

Browse files
committed
Gradle folder restructure (sample)
1 parent d1ef474 commit e7058df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+10
-22
lines changed

sample/build.gradle

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
11
apply plugin: 'com.android.application'
22

3-
dependencies {
4-
compile project(':library')
5-
compile 'com.android.support:support-v4:22.2.0'
6-
compile 'com.squareup.okhttp:okhttp:2.4.0'
7-
}
8-
93
android {
104
compileSdkVersion 22
115
buildToolsVersion "22.0.1"
126

137
defaultConfig {
8+
applicationId "com.nostra13.universalimageloader"
149
minSdkVersion 5
1510
targetSdkVersion 22
16-
}
17-
18-
sourceSets {
19-
main {
20-
manifest.srcFile 'AndroidManifest.xml'
21-
java.srcDirs = ['src']
22-
res.srcDirs = ['res']
23-
assets.srcDirs = ['assets']
24-
}
11+
versionCode 40
12+
versionName "1.9.5"
2513
}
2614

2715
lintOptions {
2816
abortOnError false
2917
}
3018
}
3119

20+
dependencies {
21+
compile project(':library')
22+
compile 'com.android.support:support-v4:22.2.0'
23+
compile 'com.squareup.okhttp:okhttp:2.4.0'
24+
}
25+
3226

3327
File propFile = file('signing.properties');
3428
if (propFile.exists()) {

sample/libs/android-support-v4.jar

-377 KB
Binary file not shown.

sample/libs/okhttp-2.3.0.jar

-288 KB
Binary file not shown.
-157 KB
Binary file not shown.

sample/AndroidManifest.xml renamed to sample/src/main/AndroidManifest.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.nostra13.universalimageloader.sample"
4-
android:versionCode="40"
5-
android:versionName="1.9.5" >
6-
7-
<uses-sdk
8-
android:minSdkVersion="5"
9-
android:targetSdkVersion="22" />
3+
package="com.nostra13.universalimageloader.sample">
104

115
<uses-permission android:name="android.permission.INTERNET" />
126
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)