Skip to content

Instantly share code, notes, and snippets.

@cdsap
Created August 22, 2020 01:01
Show Gist options
  • Save cdsap/791fef0f67453247d01693cdac1573f3 to your computer and use it in GitHub Desktop.
Save cdsap/791fef0f67453247d01693cdac1573f3 to your computer and use it in GitHub Desktop.
InfluxDb Talaiot Plugin
buildscript {
ext.kotlin_version = "1.3.72"
repositories {
google()
jcenter()
maven {
url = "http://oss.jfrog.org/artifactory/oss-snapshot-local"
}
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath "com.cdsap.talaiot.plugin:influxdb:1.4.0-SNAPSHOT"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: "com.cdsap.talaiot.plugin.influxdb"
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
talaiot{
publishers{
influxDbPublisher {
dbName = "tracking"
url = "http://localhost:8086"
taskMetricName = "task"
buildMetricName = "build"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment