Skip to content

Instantly share code, notes, and snippets.

View init.coffee
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@j2emanue
j2emanue / depedencies for this project
Created Mar 19, 2016
gradle dependencies scopes tutorial
View depedencies for this project
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.google.dagger:dagger:2.0'
apt 'com.google.dagger:dagger-compiler:2.0'
provided 'org.glassfish:javax.annotation:10.0-b28'
}
View things to make dataBinding work
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha5'}
dataBinding {
enabled = true
}
View build.gradle
// Top-level build file where you can add
//configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha5'
}
}