blob: 73617fc62bc614e3a9896247c4f5b6302bd48a1b [file] [log] [blame]
Filip Pavlisc65e2912017-08-04 16:15:00 +01001/*
2 * Copyright (C) 2017 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
Aurimas Liutikas546e1912018-08-17 23:37:13 -070017import androidx.build.BuildServerConfigurationKt
18
Jeff Gastona2208ae2018-01-29 17:48:21 -050019plugins {
Aurimas Liutikas65d3d602019-04-01 23:08:13 -070020 id("AndroidXPlugin")
21 id("kotlin")
Jeff Gastona2208ae2018-01-29 17:48:21 -050022 id("application")
23}
Filip Pavlisc65e2912017-08-04 16:15:00 +010024
Filip Pavlisba381a32018-03-28 15:36:31 +010025mainClassName = "com.android.tools.build.jetifier.standalone.Main"
Filip Pavlisc65e2912017-08-04 16:15:00 +010026
27dependencies {
Aurimas Liutikas8a1c0392019-12-02 11:31:04 -080028 api(project(":jetifier-processor"))
29 api("commons-cli:commons-cli:1.3.1")
Filip Pavlisc65e2912017-08-04 16:15:00 +010030}
31
Jeff Gastonfd7b4a12018-02-05 17:56:01 -050032task dist(type: Copy) {
33 from project.tasks.findByPath("distZip") // defined by application plugin
34
Aurimas Liutikas546e1912018-08-17 23:37:13 -070035 destinationDir BuildServerConfigurationKt.getDistributionDirectory(rootProject)
Jeff Gastonfd7b4a12018-02-05 17:56:01 -050036}
Jeff Gastonfd7b4a12018-02-05 17:56:01 -050037