build.gradle revision 24bec1cc542de69e0e21cc774469f20d34811ad9
1/*
2 * Copyright (C) 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17apply plugin: 'groovy'
18
19repositories {
20    mavenCentral()
21}
22
23dependencies {
24    compile gradleApi()
25    compile localGroovy()
26    compile 'commons-io:commons-io:2.4'
27    compile 'org.apache.maven:maven-aether-provider:3.3.3'
28    compile 'org.eclipse.aether:aether-transport-http:1.0.2.v20150114'
29    compile 'org.eclipse.aether:aether:1.0.2.v20150114'
30    compile 'org.eclipse.aether:aether-connector-basic:1.0.2.v20150114'
31    compile 'org.eclipse.aether:aether-transport-file:1.0.2.v20150114'
32
33}
34
35uploadArchives {
36    repositories {
37        mavenDeployer {
38            pom.artifactId = 'localizemaven'
39            repository(url: "file://${config.extraPluginsRepoDir}")
40        }
41    }
42}