1 /* 2 * Copyright (C) 2018 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 17 import com.android.tools.metalava.CREATE_ARCHIVE_TASK 18 import com.android.tools.metalava.buildinfo.CREATE_BUILD_INFO_TASK 19 import com.android.tools.metalava.buildinfo.CreateAggregateLibraryBuildInfoFileTask.Companion.CREATE_AGGREGATE_BUILD_INFO_FILES_TASK 20 21 defaultTasks = 22 mutableListOf( 23 "installDist", 24 "test", 25 "publish", 26 CREATE_ARCHIVE_TASK, 27 CREATE_BUILD_INFO_TASK, 28 CREATE_AGGREGATE_BUILD_INFO_FILES_TASK, 29 "lint", 30 "ktCheck", 31 ) 32 33 project.tasks.register( 34 CREATE_AGGREGATE_BUILD_INFO_FILES_TASK, 35 com.android.tools.metalava.buildinfo.CreateAggregateLibraryBuildInfoFileTask::class 36 ) 37