Created
August 9, 2013 04:43
-
-
Save shakalaca/6191239 to your computer and use it in GitHub Desktop.
gradle file for RootTools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.5.+' | |
} | |
} | |
apply plugin: 'android' | |
repositories { | |
maven { url uri("${rootDir}/../mvn-repo") } | |
// maven { url "http://xxxxx/mvn-repo" } | |
} | |
dependencies { | |
compile 'com.stericson.RootTools:RootTools_sdk3_generic:3.2.0' | |
} | |
android { | |
compileSdkVersion 18 | |
buildToolsVersion "18.0.1" | |
defaultConfig { | |
minSdkVersion 8 | |
targetSdkVersion 18 | |
} | |
sourceSets { | |
main { | |
manifest.srcFile 'AndroidManifest.xml' | |
java.srcDirs = ['src'] | |
res.srcDirs = ['res'] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.5.+' | |
} | |
} | |
apply plugin: 'android-library' | |
android { | |
compileSdkVersion 18 | |
buildToolsVersion "18.0.1" | |
defaultConfig { | |
minSdkVersion 8 | |
targetSdkVersion 18 | |
} | |
sourceSets { | |
main { | |
manifest.srcFile 'AndroidManifest.xml' | |
java.srcDirs = ['src'] | |
res.srcDirs = ['res'] | |
} | |
} | |
} | |
apply plugin: 'maven' | |
group = 'com.stericson.RootTools' | |
version = '3.2.0' | |
uploadArchives { | |
repositories { | |
mavenDeployer { | |
repository(url: uri("$rootDir/../mvn-repo")) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment