-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
40 lines (34 loc) · 1.09 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
buildscript {
repositories {
gradlePluginPortal()
maven { url = "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-serialization:1.7.20"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0"
classpath "com.github.jengelman.gradle.plugins:shadow:6.1.0"
}
}
plugins {
id "org.jetbrains.kotlin.jvm" version "1.7.20"
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
id "org.owasp.dependencycheck" version "6.2.2"
}
subprojects {
apply plugin: 'kotlin'
apply plugin: 'org.jlleitschuh.gradle.ktlint'
apply plugin: 'org.owasp.dependencycheck'
repositories {
mavenCentral()
}
compileKotlin.kotlinOptions.jvmTarget = JavaVersion.VERSION_11
compileTestKotlin.kotlinOptions.jvmTarget = JavaVersion.VERSION_11
}
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}