forked from Kingsman44/Pixelify
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (46 loc) · 1.02 KB
/
build.gradle
File metadata and controls
54 lines (46 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn more about Gradle by exploring our Samples at https://docs.gradle.org/9.3.1/samples
*/
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.7.0'
}
}
plugins {
id 'idea'
}
allprojects {
repositories {
google()
mavenCentral()
}
}
idea.module {
excludeDirs += file('out')
resourceDirs += file('template')
resourceDirs += file('scripts')
}
ext {
min_sdk = 23
target_sdk = 33
minSdkVersion = 23
targetSdkVersion = 34
buildToolsVersion = '30.0.3'
ndkVersion = '21.4.7075529'
outDir = file("$rootDir/out")
}
task clean(type: Delete) {
delete rootProject.buildDir, outDir
}
tasks.register('selectVersion') {
if(!project.hasProperty('version')) {
throw new GradleException('ERROR: select a version (-Pversion=beta or -Pversion=stable)')
}
}