-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
532 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# These are explicitly windows files and should use crlf | ||
*.bat text eol=crlf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,6 @@ mvnw.cmd | |
.java-version | ||
|
||
target/ | ||
build/ | ||
|
||
.dccache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/* | ||
** OKafka Java Client version 0.8. | ||
** | ||
** Copyright (c) 2019, 2022 Oracle and/or its affiliates. | ||
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. | ||
*/ | ||
|
||
plugins { | ||
// Apply the application plugin to add support for building a Java library. | ||
id 'java-library' | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
group = 'org.oracle.okafka' | ||
version = '0.8' | ||
|
||
repositories { | ||
// Use Maven Central for resolving dependencies. | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
// Test dependencies | ||
testImplementation('org.easymock:easymock:4.3') | ||
testImplementation('org.powermock:powermock-module-junit4:2.0.9') | ||
testImplementation('org.powermock:powermock-api-support:2.0.9') | ||
testImplementation('org.powermock:powermock-api-easymock:2.0.9') | ||
|
||
// These dependencies are used by the application. | ||
implementation('com.oracle.ojdbc:ojdbc10:19.3.0.0') | ||
implementation('com.oracle.database.messaging:aqapi:19.3.0.0') | ||
implementation('javax.transaction:jta:1.1') | ||
implementation('javax.jms:javax.jms-api:2.0.1') | ||
implementation('org.slf4j:slf4j-api:1.7.35') | ||
} | ||
|
||
|
||
javadoc { | ||
include "**/org/oracle/okafka/clients/admin/*" | ||
include "**/org/oracle/okafka/clients/consumer/*" | ||
include "**/org/oracle/okafka/clients/producer/*" | ||
include "**/org/oracle/okafka/common/*" | ||
include "**/org/oracle/okafka/common/annotation/*" | ||
include "**/org/oracle/okafka/common/errors/*" | ||
include "**/org/oracle/okafka/common/resource/*" | ||
include "**/org/oracle/okafka/common/serialization/*" | ||
include "**/org/oracle/okafka/common/config/*" | ||
} | ||
|
||
tasks.named('jar') { | ||
description('Generates okafka client jar ') | ||
archiveBaseName = 'okafka' | ||
manifest { | ||
attributes('Implementation-Title' : 'okafka', | ||
'Implementation-Version': project.version) | ||
} | ||
from "$rootDir/LICENSE.txt" | ||
from "$rootDir/NOTICE.txt" | ||
} | ||
|
||
tasks.register('fullJar', Jar) { | ||
archiveBaseName = 'okafka' | ||
archiveClassifier = 'dependencies' | ||
|
||
manifest { | ||
attributes('Implementation-Title' : 'okafka', | ||
'Implementation-Version': project.version) | ||
} | ||
|
||
from "$rootDir/LICENSE.txt" | ||
from "$rootDir/NOTICE.txt" | ||
|
||
from sourceSets.main.output | ||
|
||
dependsOn configurations.runtimeClasspath | ||
from { | ||
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) } | ||
} | ||
|
||
duplicatesStrategy 'exclude' | ||
} | ||
|
||
tasks.withType(Javadoc) { | ||
// disable the crazy super-strict doclint tool in Java 8 | ||
// noinspection SpellCheckingInspection | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
options.windowTitle = "Oracle Database Transactional Event Queues Java API Reference" | ||
options.header = """<b>Oracle® Database Transactional Event Queues Java API Reference<br>20c</b><br>F30355-02<br>""" | ||
options.bottom = """<center><small>Copyright © 2001, 2020, Oracle and/or its affiliates. All rights reserved.<small></center><p><small><br></small></p>""" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
** OKafka Java Client version 0.8. | ||
** | ||
** Copyright (c) 2019, 2022 Oracle and/or its affiliates. | ||
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. | ||
*/ | ||
|
||
plugins { | ||
// Apply the application plugin to add support for building a Java App. | ||
id 'java' | ||
} | ||
|
||
version = '0.8' | ||
|
||
repositories { | ||
// Use Maven Central for resolving dependencies. | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
// These dependencies are used by the application. | ||
implementation project(':clients') | ||
} | ||
|
||
tasks.named('jar') { | ||
description('Generates okafka client consumer jar ') | ||
archiveBaseName = 'okafka' | ||
archiveClassifier = 'consumer' | ||
manifest { | ||
attributes('Implementation-Title' : 'okafka consumer', | ||
'Implementation-Version': project.version) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
** OKafka Java Client version 0.8. | ||
** | ||
** Copyright (c) 2019, 2022 Oracle and/or its affiliates. | ||
** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. | ||
*/ | ||
|
||
plugins { | ||
// Apply the application plugin to add support for building a Java App. | ||
id 'java' | ||
} | ||
|
||
version = '0.8' | ||
|
||
repositories { | ||
// Use Maven Central for resolving dependencies. | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
// These dependencies are used by the application. | ||
implementation project(':clients') | ||
} | ||
|
||
tasks.named('jar') { | ||
description('Generates okafka client producer jar ') | ||
archiveBaseName = 'okafka' | ||
archiveClassifier = 'producer' | ||
manifest { | ||
attributes('Implementation-Title' : 'okafka producer', | ||
'Implementation-Version': project.version) | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.