Skip to content

Commit a11aed7

Browse files
committed
gradle project
1 parent 4479ed2 commit a11aed7

Some content is hidden

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

88 files changed

+391
-158
lines changed

AndroidMP3RecorderLibrary/.classpath

-9
This file was deleted.

AndroidMP3RecorderLibrary/.project

-33
This file was deleted.

AndroidMP3RecorderLibrary/.settings/org.eclipse.core.resources.prefs

-2
This file was deleted.
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
compileSdkVersion 21
5+
buildToolsVersion "21.1.2"
6+
7+
defaultConfig {
8+
minSdkVersion 9
9+
targetSdkVersion 21
10+
//暂时屏蔽,等AndroidStudio NDK开发完善后再放开
11+
// ndk {
12+
// moduleName "mp3lame"
13+
// }
14+
}
15+
16+
buildTypes {
17+
release {
18+
minifyEnabled false
19+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
20+
}
21+
}
22+
}
23+
24+
dependencies {
25+
compile 'com.android.support:support-v4:21.0.3'
26+
}
Binary file not shown.

AndroidMP3RecorderLibrary/proguard-project.txt

-20
This file was deleted.

AndroidMP3RecorderLibrary/project.properties

-15
This file was deleted.

AndroidMP3RecorderSample/.classpath

-9
This file was deleted.

AndroidMP3RecorderSample/.project

-33
This file was deleted.

AndroidMP3RecorderSample/.settings/org.eclipse.core.resources.prefs

-2
This file was deleted.

AndroidMP3RecorderSample/build.gradle

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 21
5+
buildToolsVersion "21.1.2"
6+
7+
defaultConfig {
8+
applicationId "com.czt.mp3recorder.sample"
9+
minSdkVersion 11
10+
targetSdkVersion 21
11+
}
12+
13+
buildTypes {
14+
release {
15+
minifyEnabled false
16+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17+
}
18+
}
19+
}
20+
21+
dependencies {
22+
compile project(':AndroidMP3RecorderLibrary')
23+
compile 'com.android.support:support-v4:21.0.3'
24+
}
Binary file not shown.

AndroidMP3RecorderSample/proguard-project.txt

-20
This file was deleted.

AndroidMP3RecorderSample/project.properties

-15
This file was deleted.

build.gradle

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
buildscript {
3+
repositories {
4+
jcenter()
5+
}
6+
dependencies {
7+
classpath 'com.android.tools.build:gradle:1.1.0'
8+
}
9+
}
10+
11+
allprojects {
12+
repositories {
13+
jcenter()
14+
}
15+
}

gradle/wrapper/gradle-wrapper.jar

48.7 KB
Binary file not shown.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Wed Apr 10 15:27:10 PDT 2013
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip

0 commit comments

Comments
 (0)