Filip Pavlis | c65e291 | 2017-08-04 16:15:00 +0100 | [diff] [blame] | 1 | /* |
| 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 Liutikas | 546e191 | 2018-08-17 23:37:13 -0700 | [diff] [blame] | 17 | import androidx.build.BuildServerConfigurationKt |
| 18 | |
Jeff Gaston | a2208ae | 2018-01-29 17:48:21 -0500 | [diff] [blame] | 19 | plugins { |
Aurimas Liutikas | 65d3d60 | 2019-04-01 23:08:13 -0700 | [diff] [blame] | 20 | id("AndroidXPlugin") |
| 21 | id("kotlin") |
Jeff Gaston | a2208ae | 2018-01-29 17:48:21 -0500 | [diff] [blame] | 22 | id("application") |
| 23 | } |
Filip Pavlis | c65e291 | 2017-08-04 16:15:00 +0100 | [diff] [blame] | 24 | |
Filip Pavlis | ba381a3 | 2018-03-28 15:36:31 +0100 | [diff] [blame] | 25 | mainClassName = "com.android.tools.build.jetifier.standalone.Main" |
Filip Pavlis | c65e291 | 2017-08-04 16:15:00 +0100 | [diff] [blame] | 26 | |
| 27 | dependencies { |
Aurimas Liutikas | 8a1c039 | 2019-12-02 11:31:04 -0800 | [diff] [blame] | 28 | api(project(":jetifier-processor")) |
| 29 | api("commons-cli:commons-cli:1.3.1") |
Filip Pavlis | c65e291 | 2017-08-04 16:15:00 +0100 | [diff] [blame] | 30 | } |
| 31 | |
Jeff Gaston | fd7b4a1 | 2018-02-05 17:56:01 -0500 | [diff] [blame] | 32 | task dist(type: Copy) { |
| 33 | from project.tasks.findByPath("distZip") // defined by application plugin |
| 34 | |
Aurimas Liutikas | 546e191 | 2018-08-17 23:37:13 -0700 | [diff] [blame] | 35 | destinationDir BuildServerConfigurationKt.getDistributionDirectory(rootProject) |
Jeff Gaston | fd7b4a1 | 2018-02-05 17:56:01 -0500 | [diff] [blame] | 36 | } |
Jeff Gaston | fd7b4a1 | 2018-02-05 17:56:01 -0500 | [diff] [blame] | 37 | |