-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
41 lines (40 loc) · 1.44 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.4.2' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id "com.diffplug.spotless" version "6.7.2" apply true
}
// for the convention. you don't need to use this
spotless {
format "misc", {
target "*.gradle", "*.md", ".gitignore"
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
java {
target("**/*.java")
removeUnusedImports()
licenseHeader "/*\n" +
" * NAM(Naver Ad Manager) SDK for Android\n" +
" * \n" +
" * Copyright 2022-present NAVER Corp.\n" +
" * All rights reserved.\n" +
" * \n" +
" * Unauthorized use, modification and redistribution of this software are strongly prohibited.\n" +
" */"
googleJavaFormat().aosp()
}
kotlin {
target("**/*.kt")
licenseHeader "/*\n" +
" * NAM(Naver Ad Manager) SDK for Android\n" +
" * \n" +
" * Copyright 2022-present NAVER Corp.\n" +
" * All rights reserved.\n" +
" * \n" +
" * Unauthorized use, modification and redistribution of this software are strongly prohibited.\n" +
" */"
ktlint()
}
}