This file contains 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
// 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.2.3' | |
// NOTE: Do not place your application dependencies here; they belong |
This file contains 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: 'com.android.application' | |
android { | |
compileSdkVersion 25 | |
buildToolsVersion "25.0.2" | |
defaultConfig { | |
applicationId "com.hipercube.blog.blogsample" | |
minSdkVersion 15 | |
targetSdkVersion 25 | |
versionCode 1 |
This file contains 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
// Number rangle | |
def range = 1..10 | |
assert range == [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | |
// Character range | |
range = 'a'..'c' | |
assert range == ['a', 'b', 'c'] | |
range = 1..<8 | |
assert range == [1, 2, 3, 4, 5, 6, 7] |
This file contains 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
// Left Shift Operation | |
task hello << { | |
println 'Hello world' | |
} | |
// Left Shift Operation Test | |
task first { | |
doFirst { | |
println 'Running first' | |
} |
This file contains 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' | |
Map<String, String> map = new HashMap<String, String>() | |
map.put('plugin', 'java') | |
apply(map) |
This file contains 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
// Declare list with initial items. | |
test.includes = ['org/gradle/api/**'. 'org/gradle/internal/**'] | |
// Set list using ArrayList | |
List<String> list = new ArrayList<String>() | |
list.add('org/gradle/api/**') | |
list.add('org/gradle/internal/**') | |
test.includes = list |
This file contains 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
// 사전 작업 | |
// chrome://plugins | |
// 크롬에서 위 링크치고 들어가서 PDF Viewer Disable하고 해야함 | |
// http://www.ebsi.co.kr/ebs/xip/xipc/previousPaperList.ebs | |
// 로그인하고 위 링크로 이동한다. | |
// 원하는 년도랑 학년 과목을 선택하고 아래 스크립트를 console에 복붙하면된다. | |
// 다운로드는 문제, 해설만 다운로드하도록 만듬 | |
// |