1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- plugins {
- id 'java'
- id 'java-gradle-plugin'
- id 'maven-publish'
- id 'com.jfrog.artifactory' version '5+'
- }
- group = 'io.nexilis'
- version = '1.0.22'
- compileJava {
- sourceCompatibility = '1.8'
- targetCompatibility = '1.8'
- }
- 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.in-plugin"
- implementationClass = "io.nexilis.StreamShieldPlugin"
- }
- }
- }
- publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- }
- }
- }
- artifactory {
- contextUrl = 'http://192.168.1.38:8082/artifactory'
- publish {
- repository {
- repoKey = 'ob-in-plugin'
- username = "development"
- password = "AP6wH1jwMWCRwDBftXh4cLmtYq7"
- }
- defaults {
- publications(publishing.publications.names.toArray())
- publishArtifacts = true
- publishPom = true
- }
- }
- }
|