依存関係のサンプルなので普通のJavaプロジェクトを作成
mvn archetype:generate
- groupId: net.jp.kronos.hq
- artifactId: maven-dependency-tutorial
[リンク](#section1) | |
<a name="section1"></a> | |
# アンカー |
repositories { | |
mavenCentral() | |
} | |
configurations { | |
ftpAntTask | |
} | |
dependencies { | |
ftpAntTask("org.apache.ant:ant-commons-net:1.8.2") { |
[ | |
// open a docblock with enter | |
{ "keys": ["enter"], "command": "jsdocs", | |
"context": [ | |
{ "key": "setting.auto_indent", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }, | |
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*(\\/\\*|###)\\*$", "match_all": true } | |
] | |
}, |
build: | |
steps: | |
# ... | |
# `git` `openssh-client` がないboxの場合は事前にインストール | |
- script: | |
name: package install | |
code: | | |
yum install -y git openssh-client | |
# see http://devcenter.wercker.com/docs/git/submodules | |
- add-ssh-key: |
import React, {Component} from 'react'; | |
import RaisedButton from 'material-ui/RaisedButton'; | |
import TextField from 'material-ui/TextField'; | |
import Dialog from 'material-ui/Dialog'; | |
import FlatButton from 'material-ui/FlatButton'; | |
export default class Component extends Component { | |
constructor(props, context) { | |
super(props, context); |
[neocomplete] foldmethod=expr |
package repositories | |
import javax.inject.Inject | |
import scala.concurrent.ExecutionContext.Implicits.global | |
import scala.concurrent.Future | |
import play.api.db.slick.{DatabaseConfigProvider, HasDatabaseConfigProvider} | |
import com.google.inject.ImplementedBy |
ext { | |
webdriver { | |
chrome { | |
driver = file('tools/chromedriver/chromedriver') | |
} | |
} | |
} | |
task setupChromeDriver << { | |
ext { |
knife solo cook vagrant@hostname |