Last active
December 2, 2016 10:06
-
-
Save hmhmsh/a742db11d38c20630cc3e8a2d83b3882 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin: 'application' | |
mainClassName=project.main.capitalize() | |
/** | |
* Repositories | |
* @see http://www.gradle.org/docs/current/userguide/userguide_single.html#sec:repositories | |
*/ | |
repositories { | |
mavenCentral() | |
} | |
/** | |
* Changing the project layout | |
* @see http://www.gradle.org/docs/current/userguide/userguide_single.html#N11E14 | |
*/ | |
sourceSets { | |
main { | |
java { | |
srcDirs += './' | |
} | |
} | |
} | |
/** | |
* Declare dependencies | |
* @see http://www.gradle.org/docs/current/userguide/userguide_single.html#sec:how_to_declare_your_dependencies | |
*/ | |
dependencies { | |
// RxJava用 | |
//compile 'io.reactivex:rxjava:1.1.0' | |
} | |
defaultTasks 'run' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"selector": ["source.java"], | |
"shell_cmd": "gradle -Pmain=\"${file_base_name}\"" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment