47 lines
1.0 KiB
Groovy
47 lines
1.0 KiB
Groovy
plugins {
|
|
id 'java-gradle-plugin'
|
|
id 'groovy-gradle-plugin'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
name 'jbarchiva'
|
|
url 'https://archiva.jessebrault.com/repository/internal/'
|
|
credentials {
|
|
username System.getenv('JBARCHIVA_USERNAME')
|
|
password System.getenv('JBARCHIVA_PASSWORD')
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api libs.jbarchiva
|
|
testImplementation libs.junit.jupiter.api
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
create('GroowtAntlrPlugin') {
|
|
id = 'groowt-antlr-plugin'
|
|
implementationClass = 'groowt.gradle.antlr.GroowtAntlrPlugin'
|
|
}
|
|
create('groowtLogging') {
|
|
id = 'groowt-logging'
|
|
implementationClass = 'groowt.gradle.logging.GroowtLoggingPlugin'
|
|
}
|
|
create('groowtPublish') {
|
|
id = 'groowt-publish'
|
|
implementationClass = 'groowt.gradle.publish.GroowtPublishPlugin'
|
|
}
|
|
}
|
|
}
|
|
|
|
testing {
|
|
suites {
|
|
test {
|
|
useJUnitJupiter()
|
|
}
|
|
}
|
|
}
|