sysmon/shared/build.gradle

58 lines
1.6 KiB
Groovy
Raw Normal View History

2021-04-25 13:25:20 +00:00
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java application project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/7.0/userguide/building_java_projects.html
*/
plugins {
id 'groovy'
id 'java-library'
2022-12-25 10:29:45 +00:00
id 'maven-publish'
2021-04-25 13:25:20 +00:00
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
2022-03-30 11:36:54 +00:00
testImplementation "org.codehaus.groovy:groovy:${groovyVersion}"
testImplementation "org.spockframework:spock-core:${spockVersion}"
2022-03-30 11:36:54 +00:00
testImplementation "junit:junit:4.13.2"
2021-05-01 12:44:55 +00:00
testImplementation "org.slf4j:slf4j-api:${slf4jVersion}"
2021-04-25 13:25:20 +00:00
2021-05-01 12:44:55 +00:00
implementation "org.slf4j:slf4j-api:${slf4jVersion}"
implementation "org.slf4j:slf4j-simple:${slf4jVersion}"
//annotationProcessor(group: 'org.pf4j', name: 'pf4j', version: "${pf4jVersion}")
implementation group: 'org.pf4j', name: 'pf4j', version: "${pf4jVersion}"
2021-04-25 13:25:20 +00:00
}
tasks.named('test') {
// Use junit platform for unit tests.
useJUnitPlatform()
}
2022-12-25 10:29:45 +00:00
publishing {
2023-01-04 13:44:42 +00:00
publications {
library(MavenPublication) {
groupId = 'sysmon'
artifactId = 'shared'
from components.java
}
}
2022-12-25 10:29:45 +00:00
repositories {
maven {
2023-01-04 13:44:42 +00:00
name = "gitea"
url = uri("https://git.data.coop/api/packages/$System.env.DRONE_REPO_OWNER/maven")
2022-12-25 10:29:45 +00:00
credentials {
2023-01-04 13:44:42 +00:00
username = "$System.env.DRONE_REPO_OWNER"
password = "$System.env.AUTH_TOKEN"
2022-12-25 10:29:45 +00:00
}
}
}
}