-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (33 loc) · 956 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
buildscript {
repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
classpath libs.kotlin.gradle.plugin
classpath "com.github.triplet.gradle:play-publisher:4.0.0-SNAPSHOT"
}
}
plugins {
alias(libs.plugins.com.diffplug.spotless) apply(false)
alias(libs.plugins.com.android.application) apply(false)
}
allprojects {
apply plugin: "com.diffplug.spotless"
spotless {
kotlin {
target "**/*.kt"
targetExclude("$buildDir/**/*.kt")
targetExclude("bin/**/*.kt")
ktlint(libs.versions.ktlint.get())
licenseHeaderFile rootProject.file("../spotless/copyright.kt")
}
}
}
task copyArtifacts(type: Copy) {
println("Hello copyArtifacts")
from "app/build/outputs/bundle/release/"
from "app/build/outputs/mapping/release/"
into "build/artifacts/"
}