Skip to content

Commit

Permalink
Jitpack publish libCore
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Jun 12, 2024
1 parent 33b84f1 commit 7c84f65
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions IOIOLibCore/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'java'
apply plugin: 'maven-publish'

task generateVersionFile(type: GenerateVersion) {
version = versionString
Expand Down Expand Up @@ -41,3 +42,13 @@ class GenerateVersion extends DefaultTask {
properties.store(file.newWriter(), null)
}
}

publishing {
publications {
release(MavenPublication) {
afterEvaluate {
from components.findByName('release')
}
}
}
}

0 comments on commit 7c84f65

Please sign in to comment.