This repository has been archived by the owner on May 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Florian Lautenschlager
committed
Feb 20, 2016
1 parent
b6759be
commit 7a14518
Showing
10 changed files
with
601 additions
and
28 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
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 |
---|---|---|
|
@@ -75,10 +75,6 @@ allprojects { | |
//Logging | ||
compile 'org.slf4j:slf4j-api:1.7.12' | ||
|
||
//Chronix Kassiopeia | ||
compile 'de.qaware.chronix:chronix-kassiopeia-simple:0.1.1' | ||
|
||
|
||
//Logging framework for tests | ||
testCompile 'org.apache.logging.log4j:log4j-api:2.4' | ||
testCompile 'org.apache.logging.log4j:log4j-core:2.4' | ||
|
@@ -160,9 +156,128 @@ sonarqube { | |
property "sonar.jdbc.driverClassName", "com.mysql.jdbc.Driver" | ||
property "sonar.jdbc.username", "$jdbcUser" | ||
property "sonar.jdbc.password", "$jdbcPw" | ||
property "sonar.projectName", "ChronixDB-Server" | ||
property "sonar.projectName", "ChronixDB-FastDTW" | ||
property "sonar.projectKey", "de.qaware.chronix:chronix.server" | ||
property "sonar.projectVersoin", "$project.version" | ||
property "sonar.projectVersion", "$project.version" | ||
|
||
} | ||
} | ||
task copyTestResources(type: Copy) { | ||
from "${projectDir}/src/test/resources" | ||
into "${buildDir}/classes/test" | ||
} | ||
processTestResources.dependsOn copyTestResources | ||
|
||
task javadocJar(type: Jar, dependsOn: groovydoc) { | ||
classifier = 'javadoc' | ||
from groovydoc.destinationDir | ||
} | ||
|
||
artifacts { | ||
archives sourcesJar | ||
archives javadocJar | ||
} | ||
|
||
def pomConfig = { | ||
|
||
inceptionYear '2016' | ||
|
||
scm { | ||
connection "scm:git:${project.scmUrl}" | ||
developerConnection "scm:git:${project.scmUrl}" | ||
url project.websiteUrl | ||
} | ||
|
||
issueManagement { | ||
system 'GitHub' | ||
url project.issueTrackerUrl | ||
} | ||
|
||
licenses { | ||
license([:]) { | ||
name 'The MIT License (MIT)' | ||
url 'https://opensource.org/licenses/MIT' | ||
distribution 'repo' | ||
} | ||
} | ||
|
||
organisation { | ||
name 'QAware GmbH' | ||
url 'https://www.qaware.de' | ||
} | ||
|
||
developers { | ||
developer { | ||
id 'florianlautenschlager' | ||
name 'Florian Lautenschlager' | ||
email '[email protected]' | ||
organization 'QAware GmbH' | ||
organizationUrl 'https://www.qaware.de' | ||
roles { role 'Developer' } | ||
} | ||
} | ||
} | ||
|
||
publishing { | ||
publications { | ||
chronixFastDTW(MavenPublication) { | ||
from components.java | ||
artifact sourcesJar | ||
artifact javadocJar | ||
|
||
pom.withXml { | ||
asNode().appendNode('name', project.displayName) | ||
asNode().appendNode('description', project.description) | ||
asNode().appendNode('url', project.websiteUrl) | ||
|
||
asNode().children().last() + pomConfig | ||
} | ||
} | ||
} | ||
} | ||
|
||
bintray { | ||
user = project.hasProperty('bintrayUsername') ? project.bintrayUsername : 'unknown' | ||
key = project.hasProperty('bintrayApiKey') ? project.bintrayApiKey : 'unknown' | ||
publications = ['chronixFastDTW'] | ||
dryRun = false | ||
publish = true | ||
pkg { | ||
repo = project.bintrayRepo | ||
name = 'chronix-fastdtw' //override name | ||
desc = project.description | ||
licenses = ['MIT'] | ||
labels = ['java', 'time series', 'dtw', 'chronix'] | ||
websiteUrl = project.websiteUrl | ||
issueTrackerUrl = project.issueTrackerUrl | ||
vcsUrl = project.scmUrl | ||
publicDownloadNumbers = true | ||
version { | ||
name = project.version | ||
desc = project.description | ||
released = new Date().format("yyyy-MM-dd'T'HH:mm:ss.SSSZZ") | ||
vcsTag = "v${project.version}" | ||
attributes = [ | ||
'chronix-fast-dtw': ['de.qaware.chronix', project.group, project.name].join(':') | ||
] | ||
mavenCentralSync { | ||
sync = false | ||
} | ||
} | ||
} | ||
} | ||
|
||
pluginBundle { | ||
website = project.websiteUrl | ||
vcsUrl = project.scmUrl | ||
|
||
plugins { | ||
basePlugin { | ||
id = 'de.qaware.chronix' | ||
displayName = project.displayName | ||
description = project.description | ||
tags = ['chronix', 'fast dtw'] | ||
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,6 @@ | ||
displayName=Chronix FastDTW | ||
description=An modifed implementation of the FastDTW algorithm used in Chronix. | ||
websiteUrl=https://github.com/ChronixDB/chronix.fastdtw | ||
scmUrl=https://github.com/ChronixDB/chronix.fastdtw | ||
issueTrackerUrl=https://github.com/ChronixDB/chronix.fastdtw/issues | ||
bintrayRepo=maven |
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 |
---|---|---|
|
@@ -31,6 +31,6 @@ | |
public enum DistanceFunctionEnum { | ||
|
||
BINARY, | ||
MANHATTEN, | ||
MANHATTAN, | ||
EUCLIDEAN | ||
} |
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
Oops, something went wrong.