Skip to content

Commit

Permalink
BuildConfig update to use Facebook SDK 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Hediard committed Sep 25, 2012
1 parent e4c1e01 commit 3e10aaf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 31 deletions.
34 changes: 7 additions & 27 deletions grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,24 @@ grails.project.source.level = 1.6

grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
// uncomment to disable ehcache
// excludes 'ehcache'
}
log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
inherits 'global'
log 'error' // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
checksums true // Whether to verify checksums on resolve

repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
mavenCentral()

// uncomment these 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 'mysql:mysql-connector-java:5.1.16'
}

plugins {
runtime ":hibernate:$grailsVersion"
runtime ":jquery:1.7.1"
runtime ":resources:1.1.6"
runtime ":fbootstrapp:0.1.1"
runtime ':jquery:1.8.0'
runtime ':resources:1.1.6'
runtime ':fbootstrapp:0.1.1'

runtime ':facebook-sdk:0.3.2'
runtime ':facebook-sdk:0.4.1'

build ":tomcat:$grailsVersion"
}
}

//grails.plugin.location.facebookSdk = "../facebook-sdk-grails-plugin"
//grails.plugin.location.facebookSdk = "../grails-facebook-sdk"
4 changes: 2 additions & 2 deletions grails-app/controllers/AppController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ class AppController {
FacebookContext facebookContext

def beforeInterceptor = {
log.info("START ${actionUri} with params=${params}")
log.info "START ${actionUri} with params=${params}"
}
def afterInterceptor = {
log.info("END ${actionUri}")
log.info "END ${actionUri}"
}

def index() {
Expand Down
4 changes: 2 additions & 2 deletions grails-app/controllers/WebsiteController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ class WebsiteController {
FacebookContext facebookContext

def beforeInterceptor = {
log.info("START ${actionUri} with params=${params}")
log.info "START ${actionUri} with params=${params}"
}
def afterInterceptor = {
log.info("END ${actionUri}")
log.info "END ${actionUri}"
}

def index() {
Expand Down

0 comments on commit 3e10aaf

Please sign in to comment.