forked from JakeWharton/ProcessPhoenix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (38 loc) · 803 Bytes
/
build.gradle
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
import com.android.build.gradle.BaseExtension
buildscript {
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
dependencies {
classpath libs.androidPlugin
classpath libs.gradleMavenPublishPlugin
classpath libs.spotlessPlugin
}
}
subprojects {
repositories {
mavenCentral()
google()
}
tasks.withType(BaseExtension).configureEach {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
apply plugin: 'com.diffplug.spotless'
spotless {
java {
googleJavaFormat(libs.googleJavaFormat.get().version)
.formatJavadoc(false)
removeUnusedImports()
target 'src/**/*.java'
}
}
}
ext {
minSdkVersion = 11
compileSdkVersion = 34
}