Code Samples Here

Here is some code:

 grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.source.level = 1.6
grails.project.target.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"

grails.project.dependency.resolution = {
    // inherit Grails' default dependencies
    inherits("global") {
        // uncomment to disable ehcache
        // excludes 'ehcache'
    }
    log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    repositories {
        grailsCentral()
        // uncomment the below to enable remote dependency resolution
        // from public Maven repositories
        mavenCentral()
        mavenLocal()
        //mavenRepo "http://snapshots.repository.codehaus.org"
        //mavenRepo "http://repository.codehaus.org"
        //mavenRepo "http://download.java.net/maven/2/"
        //mavenRepo "http://repository.jboss.com/maven2/"
    }
    dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

        runtime 'com.github.spullara.mustache.java:builder:0.6'
    }

    plugins {
        build(":tomcat:$grailsVersion",
              ":release:1.0.0.RC3") {
            export = false
        }
    }
}
2 Likes

This code is interesting I approve.

1 Like

u haker???

1 Like

https://github.com/juano2310/Nest-on-SmartThings/blob/master/examples.php

1 Like

Ben,

Do you have any code samples you could share about “cards” and “eventTiles” please?

Cooper

Adding @Jim - we got anything to share (or create)?

Nothing immediately available; I’ll work on creating something.

First off, my apologies for the time it took to get back to this conversation.

We don’t document the use of cards or SmartApp tiles because their use is for dashboard solution SmartApps (like the “Doors & Locks” or “Lights & Switches” solution apps), which is currently not supported for community development.

The documentation was not clear about this; I’ve updated it to hopefully be clearer.