-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
62 lines (53 loc) · 1.88 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* SecureString library, Obfuscated/clearable in memory string management
* Copyright (C) 2017-2022 Alan Evans, NovaCrypto
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* Original source: https://github.com/NovaCrypto/SecureString
* You can contact the authors via github issues.
*/
plugins {
id 'com.github.spotbugs' version '5.0.4'
// Generate a dependency version update report for release
// ./gradlew dependencyUpdates -Drevision=release -DoutputFormatter=plain
// https://github.com/ben-manes/gradle-versions-plugin
id 'com.github.ben-manes.versions' version '0.41.0'
}
description = "Obfuscated/clearable in memory string management"
apply plugin: 'java-library'
apply from: 'sonatype.gradle'
spotbugsMain {
reports {
html {
required = true
outputLocation = file("$buildDir/reports/spotbugs/main/spotbugs.html")
stylesheet = 'fancy-hist.xsl'
}
}
}
repositories {
mavenCentral()
}
compileJava {
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
}
dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.assertj:assertj-core:3.22.0'
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'