Skip to content

Commit

Permalink
JitPack support
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnemotechnician committed Mar 27, 2023
1 parent 4ebd790 commit 6ebe4fb
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
// todo remake the buildscript and use kotlin instead

apply plugin: "java"
plugins {
id 'java'
id 'maven-publish'
}

version '1.0'
version 'v1.9'
group = 'com.github.mnemotechnician'

//compile java 16 code, targeting java 8
targetCompatibility = 8
Expand Down Expand Up @@ -85,3 +89,11 @@ task deploy(type: Jar){
}
}
}

publishing {
publications {
library(MavenPublication) {
from components.java
}
}
}

0 comments on commit 6ebe4fb

Please sign in to comment.