File tree Expand file tree Collapse file tree 3 files changed +191
-0
lines changed
flux-embedding-model-azure-open-ai
flux-embedding-model-minilm
flux-embedding-model-ollama Expand file tree Collapse file tree 3 files changed +191
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' com.gradleup.shadow' version ' 8.3.3'
3+ id ' maven-publish'
34}
45
56dependencies {
@@ -20,3 +21,66 @@ shadowJar {
2021 }
2122 }
2223}
24+
25+ java {
26+ withJavadocJar()
27+ withSourcesJar()
28+ }
29+
30+ publishing {
31+ publications {
32+ mainJava(MavenPublication ) {
33+ groupId = group
34+ version = version
35+ from components. java
36+ pom {
37+ description = " Integration for Azure OpenAI with the MarkLogic Flux API"
38+ packaging = " jar"
39+ url = " https://github.com/marklogic/flux"
40+ licenses {
41+ license {
42+ name = " The Apache License, Version 2.0"
43+ url = " http://www.apache.org/licenses/LICENSE-2.0.txt"
44+ }
45+ }
46+ developers {
47+ developer {
48+ id = " marklogic"
49+ name = " MarkLogic Github Contributors"
50+ 51+ organization = " MarkLogic"
52+ organizationUrl = " https://www.marklogic.com"
53+ }
54+ }
55+ scm {
56+ url
= " [email protected] :marklogic/flux.git" 57+ connection
= " scm:[email protected] :marklogic/flux.git" 58+ developerConnection
= " scm:[email protected] :marklogic/flux.git" 59+ }
60+ }
61+ }
62+ }
63+ repositories {
64+ maven {
65+ if (project. hasProperty(" mavenUser" )) {
66+ credentials {
67+ username mavenUser
68+ password mavenPassword
69+ }
70+ url publishUrl
71+ allowInsecureProtocol = true
72+ } else {
73+ name = " central"
74+ url = mavenCentralUrl
75+ credentials {
76+ username mavenCentralUsername
77+ password mavenCentralPassword
78+ }
79+ }
80+ }
81+ }
82+ }
83+
84+ components. java. withVariantsFromConfiguration(configurations. shadowRuntimeElements) {
85+ skip()
86+ }
Original file line number Diff line number Diff line change 11plugins {
22 id ' com.gradleup.shadow' version ' 8.3.3'
3+ id ' maven-publish'
34}
45
56dependencies {
67 implementation " dev.langchain4j:langchain4j-embeddings-all-minilm-l6-v2:0.35.0"
78}
9+
10+ java {
11+ withJavadocJar()
12+ withSourcesJar()
13+ }
14+
15+ publishing {
16+ publications {
17+ mainJava(MavenPublication ) {
18+ groupId = group
19+ version = version
20+ from components. java
21+ pom {
22+ description = " Integration for minilm with the MarkLogic Flux API"
23+ packaging = " jar"
24+ url = " https://github.com/marklogic/flux"
25+ licenses {
26+ license {
27+ name = " The Apache License, Version 2.0"
28+ url = " http://www.apache.org/licenses/LICENSE-2.0.txt"
29+ }
30+ }
31+ developers {
32+ developer {
33+ id = " marklogic"
34+ name = " MarkLogic Github Contributors"
35+ 36+ organization = " MarkLogic"
37+ organizationUrl = " https://www.marklogic.com"
38+ }
39+ }
40+ scm {
41+ url
= " [email protected] :marklogic/flux.git" 42+ connection
= " scm:[email protected] :marklogic/flux.git" 43+ developerConnection
= " scm:[email protected] :marklogic/flux.git" 44+ }
45+ }
46+ }
47+ }
48+ repositories {
49+ maven {
50+ if (project. hasProperty(" mavenUser" )) {
51+ credentials {
52+ username mavenUser
53+ password mavenPassword
54+ }
55+ url publishUrl
56+ allowInsecureProtocol = true
57+ } else {
58+ name = " central"
59+ url = mavenCentralUrl
60+ credentials {
61+ username mavenCentralUsername
62+ password mavenCentralPassword
63+ }
64+ }
65+ }
66+ }
67+ }
68+
69+ components. java. withVariantsFromConfiguration(configurations. shadowRuntimeElements) {
70+ skip()
71+ }
Original file line number Diff line number Diff line change 11plugins {
22 id ' com.gradleup.shadow' version ' 8.3.3'
3+ id ' maven-publish'
34}
45
56dependencies {
@@ -22,3 +23,65 @@ shadowJar {
2223 }
2324}
2425
26+ java {
27+ withJavadocJar()
28+ withSourcesJar()
29+ }
30+
31+ publishing {
32+ publications {
33+ mainJava(MavenPublication ) {
34+ groupId = group
35+ version = version
36+ from components. java
37+ pom {
38+ description = " Integration for Ollama with the MarkLogic Flux API"
39+ packaging = " jar"
40+ url = " https://github.com/marklogic/flux"
41+ licenses {
42+ license {
43+ name = " The Apache License, Version 2.0"
44+ url = " http://www.apache.org/licenses/LICENSE-2.0.txt"
45+ }
46+ }
47+ developers {
48+ developer {
49+ id = " marklogic"
50+ name = " MarkLogic Github Contributors"
51+ 52+ organization = " MarkLogic"
53+ organizationUrl = " https://www.marklogic.com"
54+ }
55+ }
56+ scm {
57+ url
= " [email protected] :marklogic/flux.git" 58+ connection
= " scm:[email protected] :marklogic/flux.git" 59+ developerConnection
= " scm:[email protected] :marklogic/flux.git" 60+ }
61+ }
62+ }
63+ }
64+ repositories {
65+ maven {
66+ if (project. hasProperty(" mavenUser" )) {
67+ credentials {
68+ username mavenUser
69+ password mavenPassword
70+ }
71+ url publishUrl
72+ allowInsecureProtocol = true
73+ } else {
74+ name = " central"
75+ url = mavenCentralUrl
76+ credentials {
77+ username mavenCentralUsername
78+ password mavenCentralPassword
79+ }
80+ }
81+ }
82+ }
83+ }
84+
85+ components. java. withVariantsFromConfiguration(configurations. shadowRuntimeElements) {
86+ skip()
87+ }
You can’t perform that action at this time.
0 commit comments