Skip to content

Commit

Permalink
enabled all stores and sources except cassandra
Browse files Browse the repository at this point in the history
  • Loading branch information
datomo committed Sep 27, 2023
1 parent 6968e7d commit 1f02f8a
Show file tree
Hide file tree
Showing 27 changed files with 1,739 additions and 725 deletions.
80 changes: 80 additions & 0 deletions plugins/cassandra-adapter/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
group "org.polypheny"


dependencies {
compileOnly project(":core")
compileOnly project(":plugins:sql-language")
compileOnly project(":plugins:jdbc-adapter-framework")

// JDBC Driver
implementation group: "org.mariadb.jdbc", name: "mariadb-java-client", version: mariadb_version // LGPL 2.1


// --- Test Compile ---
testImplementation project(path: ":core", configuration: "tests")
testImplementation project(path: ":plugins:sql-language", configuration: "tests")

}


sourceSets {
main {
java {
srcDirs = ["src/main/java"]
outputDir = file(project.buildDir.absolutePath + "/classes")
}
resources {
srcDirs = ["src/main/resources"]
}
output.resourcesDir = file(project.buildDir.absolutePath + "/classes")
}
test {
java {
srcDirs = ["src/test/java"]
outputDir = file(project.buildDir.absolutePath + "/test-classes")
}
resources {
srcDirs = ["src/test/resources"]
}
output.resourcesDir = file(project.buildDir.absolutePath + "/test-classes")
}
}

compileJava {
dependsOn(":core:processResources")
dependsOn(":plugins:sql-language:processResources")
dependsOn(":plugins:jdbc-adapter-framework:processResources")
}

compileTestJava {
dependsOn(":plugins:jdbc-adapter-framework:processResources")
}

delombok {
dependsOn(":plugins:sql-language:processResources")
dependsOn(":plugins:jdbc-adapter-framework:processResources")
}

/**
* JARs
*/
jar {
manifest {
attributes "Manifest-Version": "1.0"
attributes "Copyright": "The Polypheny Project (polypheny.org)"
attributes "Version": "$project.version"
}
}
java {
withJavadocJar()
withSourcesJar()
}

javadoc {
dependsOn(":plugins:jdbc-adapter-framework:processResources")
}

licensee {
allowDependency('org.mariadb.jdbc', 'mariadb-java-client', '2.7.2') { because 'removed on release branches' }
}

27 changes: 27 additions & 0 deletions plugins/cassandra-adapter/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# Copyright 2019-2023 The Polypheny Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

pluginVersion = 0.0.1

pluginId = cassandra-adapter
pluginClass = org.polypheny.db.adapter.jdbc.CassandraSourcePlugin
pluginProvider = The Polypheny Project
pluginDependencies = jdbc-adapter-framework, sql-language
pluginUrlPath =
pluginCategories = source
pluginPolyDependencies =
pluginIsSystemComponent = false
pluginIsUiVisible = true
Loading

0 comments on commit 1f02f8a

Please sign in to comment.