build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. plugins {
  2. id 'java'
  3. id 'java-gradle-plugin'
  4. id 'maven-publish'
  5. id 'com.jfrog.artifactory' version '5+'
  6. }
  7. group = 'io.nexilis'
  8. version = '1.0.0-alpha-13'
  9. compileJava {
  10. sourceCompatibility = JavaVersion.VERSION_11
  11. targetCompatibility = JavaVersion.VERSION_11
  12. }
  13. repositories {
  14. mavenCentral()
  15. }
  16. dependencies {
  17. implementation("org.ow2.asm:asm:9.7")
  18. implementation("org.ow2.asm:asm-commons:9.7")
  19. testImplementation platform('org.junit:junit-bom:5.10.3')
  20. testImplementation 'org.junit.jupiter:junit-jupiter'
  21. }
  22. test {
  23. useJUnitPlatform()
  24. }
  25. gradlePlugin {
  26. plugins {
  27. project {
  28. id = "io.nexilis.in-dm-plugin"
  29. implementationClass = "io.nexilis.InjectDMPlugin"
  30. }
  31. }
  32. }
  33. publishing {
  34. publications {
  35. mavenJava(MavenPublication) {
  36. from components.java
  37. }
  38. }
  39. }
  40. artifactory {
  41. contextUrl = 'http://192.168.1.38:8082/artifactory'
  42. publish {
  43. repository {
  44. repoKey = 'ob-in-plugin'
  45. username = "development"
  46. password = "AP6wH1jwMWCRwDBftXh4cLmtYq7"
  47. }
  48. defaults {
  49. publications(publishing.publications.names.toArray())
  50. publishArtifacts = true
  51. publishPom = true
  52. }
  53. }
  54. }