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 /layoutlib_api | |
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 'layoutlib_api')
-rw-r--r-- | layoutlib_api/.gitignore | 1 | ||||
-rw-r--r-- | layoutlib_api/build.gradle | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/layoutlib_api/.gitignore b/layoutlib_api/.gitignore index fe99505..4ff597c 100644 --- a/layoutlib_api/.gitignore +++ b/layoutlib_api/.gitignore @@ -1,2 +1,3 @@ bin +build diff --git a/layoutlib_api/build.gradle b/layoutlib_api/build.gradle new file mode 100644 index 0000000..5534fdb --- /dev/null +++ b/layoutlib_api/build.gradle @@ -0,0 +1,30 @@ +apply plugin: 'java' + +dependencies { + compile project(':common') + compile 'kxml2:kxml2:2.3.0' + + testCompile 'junit:junit:3.8.1' +} + +group = 'com.android.tools' +archivesBaseName = 'layoutlib_api' + +sourceSets { + main { + java { + srcDir 'src' + } + resources { + srcDir 'src' + } + } + test { + java { + srcDir 'tests/src' + } + resources { + srcDir 'tests/src' + } + } +} |