-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (37 loc) · 1.22 KB
/
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
44
45
import com.android.build.gradle.LibraryExtension
import com.android.build.gradle.LibraryPlugin
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'digital.wup:android-maven-publish:3.6.2'
classpath 'com.github.plnice:canidropjetifier:0.5'
}
}
apply plugin: 'com.github.plnice.canidropjetifier'
allprojects {
repositories {
google()
jcenter()
maven { url "https://dl.bintray.com/consp1racy/maven" }
}
// Disable BuildConfig generation for Android library modules so javac can be skipped altogether.
plugins.whenPluginAdded {
if (it instanceof LibraryPlugin) {
extensions.getByType(LibraryExtension).libraryVariants.all {
// TODO replace with https://issuetracker.google.com/issues/72050365 once released.
it.generateBuildConfig.enabled = false
}
}
}
group = "net.xpece.androidx.optical"
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}