blob: 0635812fdf7eba099361e1928bd13a41359813dc [file] [log] [blame]
Sergey Vasilinets968529a2018-01-03 16:13:53 -08001/*
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
17import static android.support.dependencies.DependenciesKt.*
18import android.support.LibraryGroups
19import android.support.LibraryVersions
20import android.support.SupportLibraryExtension
21
22apply plugin: android.support.SupportKotlinLibraryPlugin
23apply plugin: 'java-gradle-plugin'
24
25sourceSets {
26 test.java.srcDirs += 'src/tests/kotlin'
27}
28
29dependencies {
30 compile gradleApi()
31}
32
33gradlePlugin {
34 plugins {
35 safeargs {
36 id = "android.arch.navigation.safeargs"
37 implementationClass = "android.arch.navigation.SafeArgsPlugin"
38 }
39 }
40}
41
42supportLibrary {
43 name = "Android Navigation TypeSafe Arguments Gradle Plugin"
44 publish = true
45 mavenVersion = LibraryVersions.NAVIGATION
46 mavenGroup = LibraryGroups.NAVIGATION
47 inceptionYear = "2017"
48 description = "Android Navigation TypeSafe Arguments Gradle Plugin"
49 url = SupportLibraryExtension.ARCHITECTURE_URL
50}