1/*
2 * Copyright 2021 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
17plugins {
18    id("java-gradle-plugin")
19    alias(libs.plugins.kotlinJvm)
20}
21
22dependencies {
23    implementation(project(":shared"))
24    implementation("com.gradle:develocity-gradle-plugin:3.19.1")
25    implementation("com.gradle:common-custom-user-data-gradle-plugin:2.1")
26    implementation("supportBuildSrc:private")
27    implementation("supportBuildSrc:public")
28    implementation("supportBuildSrc:plugins")
29    implementation(libs.androidGradleSettingsPlugin)
30    testImplementation(libs.junit)
31    testImplementation(libs.truth)
32}
33
34gradlePlugin {
35    plugins {
36        playgroundConventions {
37            id = "playground"
38            implementationClass = "androidx.playground.PlaygroundPlugin"
39        }
40        gradleEnterpriseConventions {
41            id = "playground-develocity-conventions"
42            implementationClass = "androidx.playground.GradleDevelocityConventionsPlugin"
43        }
44    }
45}
46