123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- plugins {
- id 'java'
- id 'java-gradle-plugin'
- id 'maven-publish'
- id 'com.jfrog.artifactory' version '5+'
- }
- group = 'io.nexilis'
- version = '1.0.2'
- repositories {
- mavenCentral()
- }
- dependencies {
- implementation("org.ow2.asm:asm:9.7")
- implementation("org.ow2.asm:asm-commons:9.7")
- testImplementation platform('org.junit:junit-bom:5.10.3')
- testImplementation 'org.junit.jupiter:junit-jupiter'
- }
- test {
- useJUnitPlatform()
- }
- gradlePlugin {
- plugins {
- streamshield {
- id = "io.nexilis.streamshield"
- implementationClass = "io.nexilis.StreamShieldPlugin"
- }
- }
- }
- publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- // groupId project.getGroup()
- // version project.getVersion()
- // artifactId 'streamshield'
- }
- }
- }
- artifactory {
- contextUrl = 'http://192.168.1.38:8082/artifactory'
- publish {
- repository {
- repoKey = 'nexilis-plugin'
- username = "development"
- password = "AP6wH1jwMWCRwDBftXh4cLmtYq7"
- }
- defaults {
- publications(publishing.publications.names.toArray())
- publishArtifacts = true
- publishPom = true
- }
- }
- }
|