1/* 2 * Copyright 2019 Google LLC 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 * https://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// Top-level build file where you can add configuration options common to all sub-projects/modules. 18 19buildscript { 20 ext { 21 kotlin_version = '2.1.10' 22 } 23 repositories { 24 google() 25 mavenCentral() 26 } 27 dependencies { 28 classpath 'com.android.tools.build:gradle:8.9.0' 29 // NOTE: Do not place your application dependencies here; they belong 30 // in the individual module build.gradle files 31 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 32 classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:$kotlin_version" 33 } 34} 35 36allprojects { 37 repositories { 38 google() 39 mavenCentral() 40 } 41} 42 43tasks.register('clean', Delete) { 44 delete rootProject.layout.buildDirectory 45} 46