diff options
author | Xavier Ducrohet <xav@android.com> | 2012-08-31 15:05:02 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-09-06 14:32:01 -0700 |
commit | 085c4befc48ccf34faf0fb889b148a30b91e254e (patch) | |
tree | f9a07dcba9e50094b8383ab916921d0b0e494122 /sdkmanager | |
parent | 18142a38a2ba292aa3fc8b23479f53a5e5270a9c (diff) | |
download | sdk-085c4befc48ccf34faf0fb889b148a30b91e254e.zip sdk-085c4befc48ccf34faf0fb889b148a30b91e254e.tar.gz sdk-085c4befc48ccf34faf0fb889b148a30b91e254e.tar.bz2 |
Make some libraries be buildable with Gradle.
They all output into out/host/repo
Change-Id: I78a1a976f0a99860a66248492da7fd9c6593b1c2
Diffstat (limited to 'sdkmanager')
-rw-r--r-- | sdkmanager/.gitignore | 9 | ||||
-rw-r--r-- | sdkmanager/libs/sdklib/build.gradle | 36 |
2 files changed, 42 insertions, 3 deletions
diff --git a/sdkmanager/.gitignore b/sdkmanager/.gitignore index 48f206a..7c578b4 100644 --- a/sdkmanager/.gitignore +++ b/sdkmanager/.gitignore @@ -1,4 +1,7 @@ -app/bin -libs/sdklib/bin -libs/sdkuilib/bin +/app/bin +/build +/libs/build +/libs/sdklib/bin +/libs/sdklib/build +/libs/sdkuilib/bin diff --git a/sdkmanager/libs/sdklib/build.gradle b/sdkmanager/libs/sdklib/build.gradle new file mode 100644 index 0000000..3e200ae --- /dev/null +++ b/sdkmanager/libs/sdklib/build.gradle @@ -0,0 +1,36 @@ +apply plugin: 'java' + +dependencies { + compile project(':layoutlib_api') + compile project(':device_validator:dvlib') + + compile 'org.apache.commons:commons-compress:1.0' + compile 'org.apache.httpcomponents:httpclient:4.1.1' + compile 'org.apache.httpcomponents:httpmime:4.1' + compile 'org.apache.commons:commons-compress:1.0' + + testCompile project(':device_validator:dvlib').sourceSets.test.output + testCompile 'junit:junit:3.8.1' +} + +group = 'com.android.tools' +archivesBaseName = 'sdklib' + +sourceSets { + main { + java { + srcDir 'src' + } + resources { + srcDir 'src' + } + } + test { + java { + srcDir 'tests/src' + } + resources { + srcDir 'tests/src' + } + } +} |