Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Veni, Vide, Built: Android Gradle Plugin

4,451 views

Published on

Veni, Vide, Built: Android Gradle Plugin

Published in: Technology
  • Dating for everyone is here: ❶❶❶ http://bit.ly/2Q98JRS ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/2Q98JRS ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... ,DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Veni, Vide, Built: Android Gradle Plugin

  1. 1. Veni, Vidi, Built: Android Gradle Plugin LYK dalinaum@gmail.com
  2. 2. Julius Caesar Veni, Vidi, Vici
 왔노라, 보았노라, 이겼노라 BC 100 ~ BC 44
  3. 3. Julius Caesar Veni, Vidi, Built
 왔노라, 보았노라, 빌드했노라 BC 100 ~ BC 44
  4. 4. • Gradle • Tasks • Android custom tasks • New Android Plugin • NDK • Jack & Jill • Atom Android
  5. 5. Gradle • Configuration (Static) + Build (Dynamic)
  6. 6. Ant • Focus on Build • hard to configure
  7. 7. Maven • Focus on Configuration • hard to customise
  8. 8. Alt. • Gradle • Groovy language (Dynamic) • DSL (Static) • Apache Ivy
  9. 9. Groovy • Runs on Java VM • The principle of least surprise (JAVA) • Built-in List, Range, Map, Closure • Improved Loops, Switches • Built-in Regex, Improved Strings • Supports Dynamic typing and Static typing.
  10. 10. Task: Hello World task hello { doLast { println 'Hello world!' } }
  11. 11. gradle -q hello
  12. 12. Task: Hello World
 (short version) task hello << { println 'Hello world!' }
  13. 13. gradle -q hello
  14. 14. upper, count task upper << { String someString = 'mY_nAmE' println "Original: " + someString println "Upper case: " + someString.toUpperCase() } task count << { 4.times { print "$it " } }
  15. 15. gradle -q upper count
  16. 16. Dependency task upper << { String someString = 'mY_nAmE' println "Original: " + someString println "Upper case: " + someString.toUpperCase() } task count << { 4.times { print "$it " } }
  17. 17. gradle -q intro
  18. 18. Android Gradle build.grade (all) app/build.gradle (app module) settings.gradle (import app module)
  19. 19. jCenter
  20. 20. Android custom task
  21. 21. gradle -q assemble
  22. 22. New Android Plugin (Experimental)
  23. 23. gradle/wrapper/gradle- wrapper.properties
  24. 24. build.gradle
  25. 25. app/build.gradle
  26. 26. component model mechanism
 (Gradle 2.5)
  27. 27. NDK support (New Android Plugin)
  28. 28. local.properties
  29. 29. build.gradle
  30. 30. build.gradle
  31. 31. app/src/main/jni/ hello-jni.c
  32. 32. app/src/main/java/ gdg/kr/hellogdg/
  33. 33. NDK example: https://github.com/ googlesamples/android-ndk
  34. 34. JACK & JILL
  35. 35. • JACK - Java Android Compiler Kit • JILL - Jack Intermediate Library Linker
  36. 36. build.gradle
  37. 37. Atom Android • Atom plugin for Android • https://github.com/atom/apm
  38. 38. Fin.

×