6 slips to a page. The formatting needs to be cleaned up a little to be honest, but this version actually seems to work for at least small numbers of swimmers. This works when interfaced with a google sheet that I've created with a script that pings this particular endpoint. I'm actually very happy with this solution so far.
30 lines
592 B
Groovy
30 lines
592 B
Groovy
buildscript {
|
|
ext.kotlin_version = '1.2.30'
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
group 'online.cinphart'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
apply plugin: 'kotlin2js'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-js:$kotlin_version"
|
|
testCompile "org.jetbrains.kotlin:kotlin-test-js:$kotlin_version"
|
|
}
|
|
|
|
compileKotlin2Js.kotlinOptions {
|
|
moduleKind = "commonjs"
|
|
outputFile = "functions/index.js"
|
|
sourceMap = true
|
|
}
|