Skip to content

Commit

Permalink
gradle project
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinCT committed Feb 27, 2015
1 parent 4479ed2 commit a11aed7
Show file tree
Hide file tree
Showing 88 changed files with 391 additions and 158 deletions.
9 changes: 0 additions & 9 deletions AndroidMP3RecorderLibrary/.classpath

This file was deleted.

33 changes: 0 additions & 33 deletions AndroidMP3RecorderLibrary/.project

This file was deleted.

This file was deleted.

26 changes: 26 additions & 0 deletions AndroidMP3RecorderLibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 21
buildToolsVersion "21.1.2"

defaultConfig {
minSdkVersion 9
targetSdkVersion 21
//暂时屏蔽,等AndroidStudio NDK开发完善后再放开
// ndk {
// moduleName "mp3lame"
// }
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile 'com.android.support:support-v4:21.0.3'
}
Binary file not shown.
20 changes: 0 additions & 20 deletions AndroidMP3RecorderLibrary/proguard-project.txt

This file was deleted.

15 changes: 0 additions & 15 deletions AndroidMP3RecorderLibrary/project.properties

This file was deleted.

File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions AndroidMP3RecorderSample/.classpath

This file was deleted.

33 changes: 0 additions & 33 deletions AndroidMP3RecorderSample/.project

This file was deleted.

This file was deleted.

24 changes: 24 additions & 0 deletions AndroidMP3RecorderSample/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 21
buildToolsVersion "21.1.2"

defaultConfig {
applicationId "com.czt.mp3recorder.sample"
minSdkVersion 11
targetSdkVersion 21
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile project(':AndroidMP3RecorderLibrary')
compile 'com.android.support:support-v4:21.0.3'
}
Binary file not shown.
20 changes: 0 additions & 20 deletions AndroidMP3RecorderSample/proguard-project.txt

This file was deleted.

15 changes: 0 additions & 15 deletions AndroidMP3RecorderSample/project.properties

This file was deleted.

15 changes: 15 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.0'
}
}

allprojects {
repositories {
jcenter()
}
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Wed Apr 10 15:27:10 PDT 2013
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
Loading

0 comments on commit a11aed7

Please sign in to comment.