buildSrc/src/main/kotlin/conventions/base.gradle.kts
author Da Risk <da_risk@geekorum.com>
Mon, 26 May 2025 18:27:07 -0400
changeset 107 627dd879e3a4
parent 85 0c23a1d2e16a
permissions -rw-r--r--
material3: add uiTooling dependencies commented as it increase build size
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
85
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     1
/*
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     2
 * AboutOss is a utility library to retrieve and display
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     3
 * opensource licenses in Android applications.
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     4
 *
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     5
 * Copyright (C) 2023-2025 by Frederic-Charles Barthelery.
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     6
 *
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     7
 * This file is part of AboutOss.
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     8
 *
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     9
 * AboutOss is free software: you can redistribute it and/or modify
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    10
 * it under the terms of the GNU General Public License as published by
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    11
 * the Free Software Foundation, either version 3 of the License, or
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    12
 * (at your option) any later version.
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    13
 *
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    14
 * AboutOss is distributed in the hope that it will be useful,
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    17
 * GNU General Public License for more details.
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    18
 *
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    19
 * You should have received a copy of the GNU General Public License
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    20
 * along with AboutOss.  If not, see <http://www.gnu.org/licenses/>.
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    21
 */
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    22
package com.geekorum.build.conventions
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    23
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    24
group = "com.geekorum.aboutoss"
0c23a1d2e16a build: add few conventions scripts
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    25
version = findProperty("PROJECT_VERSION") ?: error("Version not found. set PROJECT_VERSION property")