Skip to content

Commit

Permalink
Jitpack & gradle plugin#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelaux committed Oct 6, 2023
1 parent 79027b1 commit 2a5adb5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gradlePlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'java-gradle-plugin'
sourceSets.main.groovy.srcDirs=(["../buildSrc/src/main/groovy"])

Expand All @@ -18,6 +19,14 @@ gradlePlugin{
}
}
}
publishing{
publications{
maven(MavenPublication){
artifactId = "com.github.Zelaux.MindustryModGradle.gradle.plugin"
// name
}
}
}
dependencies{
compileOnly gradleApi()
compileOnly localGroovy()
Expand Down

0 comments on commit 2a5adb5

Please sign in to comment.