aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2013-01-09 18:16:15 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-01-09 18:16:15 -0800
commit5b30d8114124620147d411c4e74bac426b7d34d4 (patch)
treea698b740d4fe346ba6fe3b14ec73b7f43fb01234
parent707f534c210508dc2892c67c3bcbae20f5215160 (diff)
parenta06e0ecf3cf82f8c8cd90ba8bbb4faf063562037 (diff)
downloadsdk-5b30d8114124620147d411c4e74bac426b7d34d4.zip
sdk-5b30d8114124620147d411c4e74bac426b7d34d4.tar.gz
sdk-5b30d8114124620147d411c4e74bac426b7d34d4.tar.bz2
Merge "Delete ALL the build.gradle from sdk.git"
-rw-r--r--build.gradle48
-rw-r--r--common/build.gradle60
-rw-r--r--ddms/libs/ddmlib/build.gradle66
-rw-r--r--device_validator/dvlib/build.gradle58
-rw-r--r--layoutlib_api/build.gradle61
-rw-r--r--lint/cli/build.gradle71
-rw-r--r--lint/libs/lint_api/build.gradle70
-rw-r--r--lint/libs/lint_checks/build.gradle69
-rw-r--r--sdkmanager/libs/sdklib/build.gradle72
-rw-r--r--testutils/build.gradle9
10 files changed, 0 insertions, 584 deletions
diff --git a/build.gradle b/build.gradle
deleted file mode 100644
index da559b5..0000000
--- a/build.gradle
+++ /dev/null
@@ -1,48 +0,0 @@
-project.buildDir = 'gradle_build'
-
-subprojects {
- apply plugin: 'java'
- apply plugin: 'maven'
- apply plugin: 'signing'
-
- repositories {
- mavenCentral()
- }
-
- project.ext {
- baseVersion = '21.0'
- }
-
- // set all java compilation to use UTF-8 encoding.
- tasks.withType(JavaCompile) {
- options.encoding = 'UTF-8'
- }
-
- // custom tasks for creating source/javadoc jars
- task sourcesJar(type: Jar, dependsOn:classes) {
- classifier = 'sources'
- from sourceSets.main.allSource
- }
-
- task javadocJar(type: Jar, dependsOn:javadoc) {
- classifier = 'javadoc'
- from javadoc.destinationDir
- }
-
- // add javadoc/source jar tasks as artifacts
- artifacts {
- archives jar
-
- archives sourcesJar
- archives javadocJar
- }
-
- task publishLocal(type: Upload) {
- configuration = configurations.archives
- repositories {
- mavenDeployer {
- repository(url: uri("$rootDir/../out/host/repo"))
- }
- }
- }
-}
diff --git a/common/build.gradle b/common/build.gradle
deleted file mode 100644
index 4fb6952..0000000
--- a/common/build.gradle
+++ /dev/null
@@ -1,60 +0,0 @@
-dependencies {
- compile 'com.google.guava:guava:13.0.1'
-
- testCompile 'junit:junit:3.8.1'
-}
-
-def getVersion() {
- if (project.has("release")) {
- return project.ext.baseVersion
- }
-
- return project.ext.baseVersion + '-SNAPSHOT'
-}
-
-version = getVersion()
-group = 'com.android.tools'
-archivesBaseName = 'common'
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment ->
- if (!project.has("release")) {
- throw new StopExecutionException("uploadArchives must be called with the release.gradle init script")
- }
-
- signing.signPom(deployment)
- }
-
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
-
- pom.project {
- name 'Android Tools common library'
- description 'common library used by other Android tools libraries.'
- url 'http://tools.android.com'
- inceptionYear '2007'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
-
- scm {
- url "https://android.googlesource.com/platform/sdk"
- connection "git://android.googlesource.com/platform/sdk.git"
- }
- developers {
- developer {
- name 'The Android Open Source Project'
- }
- }
- }
- }
- }
-}
diff --git a/ddms/libs/ddmlib/build.gradle b/ddms/libs/ddmlib/build.gradle
deleted file mode 100644
index c46cdb4..0000000
--- a/ddms/libs/ddmlib/build.gradle
+++ /dev/null
@@ -1,66 +0,0 @@
-dependencies {
- compile 'kxml2:kxml2:2.3.0'
-
- testCompile 'org.easymock:easymock:3.1'
- testCompile 'junit:junit:3.8.1'
-}
-
-def getVersion() {
- if (project.has("release")) {
- return project.ext.baseVersion
- }
-
- return project.ext.baseVersion + '-SNAPSHOT'
-}
-
-version = getVersion()
-group = 'com.android.tools.ddms'
-archivesBaseName = 'ddmlib'
-
-sourceSets {
- main.resources.srcDir 'src/main/java'
- test.resources.srcDir 'src/test/java'
-}
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment ->
- if (!project.has("release")) {
- throw new StopExecutionException("uploadArchives must be called with the release.gradle init script")
- }
-
- signing.signPom(deployment)
- }
-
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
-
- pom.project {
- name 'Android Tools ddmlib'
- description 'Library providing APIs to talk to Android devices'
- url 'http://tools.android.com'
- inceptionYear '2007'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
-
- scm {
- url "https://android.googlesource.com/platform/sdk"
- connection "git://android.googlesource.com/platform/sdk.git"
- }
- developers {
- developer {
- name 'The Android Open Source Project'
- }
- }
- }
- }
- }
-}
diff --git a/device_validator/dvlib/build.gradle b/device_validator/dvlib/build.gradle
deleted file mode 100644
index df955ce..0000000
--- a/device_validator/dvlib/build.gradle
+++ /dev/null
@@ -1,58 +0,0 @@
-dependencies {
- testCompile 'junit:junit:3.8.1'
-}
-
-def getVersion() {
- if (project.has("release")) {
- return project.ext.baseVersion
- }
-
- return project.ext.baseVersion + '-SNAPSHOT'
-}
-
-version = getVersion()
-group = 'com.android.tools'
-archivesBaseName = 'dvlib'
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment ->
- if (!project.has("release")) {
- throw new StopExecutionException("uploadArchives must be called with the release.gradle init script")
- }
-
- signing.signPom(deployment)
- }
-
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
-
- pom.project {
- name 'Android Tools dvlib'
- description 'A Library to manage the Android device database XML files.'
- url 'http://tools.android.com'
- inceptionYear '2007'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
-
- scm {
- url "https://android.googlesource.com/platform/sdk"
- connection "git://android.googlesource.com/platform/sdk.git"
- }
- developers {
- developer {
- name 'The Android Open Source Project'
- }
- }
- }
- }
- }
-}
diff --git a/layoutlib_api/build.gradle b/layoutlib_api/build.gradle
deleted file mode 100644
index 3f92474..0000000
--- a/layoutlib_api/build.gradle
+++ /dev/null
@@ -1,61 +0,0 @@
-dependencies {
- compile project(':common')
- compile 'kxml2:kxml2:2.3.0'
-
- testCompile 'junit:junit:3.8.1'
-}
-
-def getVersion() {
- if (project.has("release")) {
- return project.ext.baseVersion
- }
-
- return project.ext.baseVersion + '-SNAPSHOT'
-}
-
-version = getVersion()
-group = 'com.android.tools.layoutlib'
-archivesBaseName = 'layoutlib-api'
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment ->
- if (!project.has("release")) {
- throw new StopExecutionException("uploadArchives must be called with the release.gradle init script")
- }
-
- signing.signPom(deployment)
- }
-
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
-
- pom.project {
- name 'Android Tools layoutlib_api'
- description 'Library to use the rendering library for Android layouts: layoutlib'
- url 'http://tools.android.com'
- inceptionYear '2007'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
-
- scm {
- url "https://android.googlesource.com/platform/sdk"
- connection "git://android.googlesource.com/platform/sdk.git"
- }
- developers {
- developer {
- name 'The Android Open Source Project'
- }
- }
- }
- }
- }
-}
diff --git a/lint/cli/build.gradle b/lint/cli/build.gradle
deleted file mode 100644
index d67ece1..0000000
--- a/lint/cli/build.gradle
+++ /dev/null
@@ -1,71 +0,0 @@
-dependencies {
- compile project(':lint_api')
- compile project(':lint_checks')
-
- testCompile 'org.easymock:easymock:3.1'
- testCompile 'junit:junit:3.8.1'
-}
-
-def getVersion() {
- if (project.has("release")) {
- return project.ext.baseVersion
- }
-
- return project.ext.baseVersion + '-SNAPSHOT'
-}
-
-version = getVersion()
-group = 'com.android.tools.lint'
-archivesBaseName = 'lint'
-
-sourceSets {
- main.resources.srcDir 'src/main/java'
- test.resources.srcDir 'src/test/java'
-}
-
-jar {
- manifest { attributes 'Main-Class': 'com.android.tools.lint.Main' }
-}
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment ->
- if (!project.has("release")) {
- throw new StopExecutionException("uploadArchives must be called with the release.gradle init script")
- }
-
- signing.signPom(deployment)
- }
-
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
-
- pom.project {
- name 'Android Lint Tool'
- description 'Lint tools. Both a Command line tool and a library to add lint features to other tools'
- url 'http://tools.android.com'
- inceptionYear '2007'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
-
- scm {
- url "https://android.googlesource.com/platform/sdk"
- connection "git://android.googlesource.com/platform/sdk.git"
- }
- developers {
- developer {
- name 'The Android Open Source Project'
- }
- }
- }
- }
- }
-}
diff --git a/lint/libs/lint_api/build.gradle b/lint/libs/lint_api/build.gradle
deleted file mode 100644
index fe4d084..0000000
--- a/lint/libs/lint_api/build.gradle
+++ /dev/null
@@ -1,70 +0,0 @@
-dependencies {
- compile project(':common')
- compile project(':sdklib')
- compile project(':layoutlib_api')
-
- compile 'com.google.guava:guava:13.0.1'
- compile 'org.projectlombok:lombok.ast:0.2'
- compile 'org.ow2.asm:asm:4.0'
- compile 'org.ow2.asm:asm-tree:4.0'
-}
-
-def getVersion() {
- if (project.has("release")) {
- return project.ext.baseVersion
- }
-
- return project.ext.baseVersion + '-SNAPSHOT'
-}
-
-version = getVersion()
-group = 'com.android.tools.lint'
-archivesBaseName = 'lint-api'
-
-sourceSets {
- main.resources.srcDir 'src/main/java'
- test.resources.srcDir 'src/test/java'
-}
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment ->
- if (!project.has("release")) {
- throw new StopExecutionException("uploadArchives must be called with the release.gradle init script")
- }
-
- signing.signPom(deployment)
- }
-
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
-
- pom.project {
- name 'Android Tools Lint API'
- description 'API to build lint checks'
- url 'http://tools.android.com'
- inceptionYear '2007'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
-
- scm {
- url "https://android.googlesource.com/platform/sdk"
- connection "git://android.googlesource.com/platform/sdk.git"
- }
- developers {
- developer {
- name 'The Android Open Source Project'
- }
- }
- }
- }
- }
-}
diff --git a/lint/libs/lint_checks/build.gradle b/lint/libs/lint_checks/build.gradle
deleted file mode 100644
index 9326045..0000000
--- a/lint/libs/lint_checks/build.gradle
+++ /dev/null
@@ -1,69 +0,0 @@
-dependencies {
- compile project(':lint_api')
- compile 'org.ow2.asm:asm-analysis:4.0'
-
- testCompile 'org.easymock:easymock:3.1'
- testCompile 'junit:junit:3.8.1'
- testCompile project(':lint')
- testCompile project(':testutils')
-}
-
-def getVersion() {
- if (project.has("release")) {
- return project.ext.baseVersion
- }
-
- return project.ext.baseVersion + '-SNAPSHOT'
-}
-
-version = getVersion()
-group = 'com.android.tools.lint'
-archivesBaseName = 'lint-checks'
-
-sourceSets {
- main.resources.srcDir 'src/main/java'
- test.resources.srcDir 'src/test/java'
-}
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment ->
- if (!project.has("release")) {
- throw new StopExecutionException("uploadArchives must be called with the release.gradle init script")
- }
-
- signing.signPom(deployment)
- }
-
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
-
- pom.project {
- name 'Android Lint Checks'
- description 'Checks for Android Lint'
- url 'http://tools.android.com'
- inceptionYear '2007'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
-
- scm {
- url "https://android.googlesource.com/platform/sdk"
- connection "git://android.googlesource.com/platform/sdk.git"
- }
- developers {
- developer {
- name 'The Android Open Source Project'
- }
- }
- }
- }
- }
-}
diff --git a/sdkmanager/libs/sdklib/build.gradle b/sdkmanager/libs/sdklib/build.gradle
deleted file mode 100644
index 6b1c0fd..0000000
--- a/sdkmanager/libs/sdklib/build.gradle
+++ /dev/null
@@ -1,72 +0,0 @@
-dependencies {
- compile project(':layoutlib_api')
- compile project(':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(':dvlib').sourceSets.test.output
- testCompile 'junit:junit:3.8.1'
-}
-
-def getVersion() {
- if (project.has("release")) {
- return project.ext.baseVersion
- }
-
- return project.ext.baseVersion + '-SNAPSHOT'
-}
-
-version = getVersion()
-group = 'com.android.tools.sdk'
-archivesBaseName = 'sdklib'
-
-sourceSets {
- main.resources.srcDir 'src/main/java'
- test.resources.srcDir 'src/test/java'
-}
-
-uploadArchives {
- repositories {
- mavenDeployer {
- beforeDeployment { MavenDeployment deployment ->
- if (!project.has("release")) {
- throw new StopExecutionException("uploadArchives must be called with the release.gradle init script")
- }
-
- signing.signPom(deployment)
- }
-
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: sonatypeUsername, password: sonatypePassword)
- }
-
- pom.project {
- name 'Android Tools sdklib'
- description 'A library to parse and download the Android SDK.'
- url 'http://tools.android.com'
- inceptionYear '2007'
-
- licenses {
- license {
- name 'The Apache Software License, Version 2.0'
- url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
- distribution 'repo'
- }
- }
-
- scm {
- url "https://android.googlesource.com/platform/sdk"
- connection "git://android.googlesource.com/platform/sdk.git"
- }
- developers {
- developer {
- name 'The Android Open Source Project'
- }
- }
- }
- }
- }
-}
diff --git a/testutils/build.gradle b/testutils/build.gradle
deleted file mode 100644
index 0726488..0000000
--- a/testutils/build.gradle
+++ /dev/null
@@ -1,9 +0,0 @@
-dependencies {
- compile project(':common')
- compile 'junit:junit:3.8.1'
-}
-
-sourceSets {
- main.resources.srcDir 'src/main/java'
- test.resources.srcDir 'src/test/java'
-}