libllamascript/build.gradle

40 lines
784 B
Groovy

plugins {
id 'java'
id 'io.freefair.lombok' version '8.10'
id 'maven-publish'
}
group = 'be.seeseemelk'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation 'io.github.ollama4j:ollama4j:1.0.82'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.hamcrest:hamcrest:3.0'
}
test {
useJUnitPlatform()
}
publishing {
publications {
library(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = "Gitea"
url = uri("https://gitea.seeseepuff.be/api/packages/llamascript/maven")
credentials(PasswordCredentials)
}
}
}