Skip to content

Commit 6304924

Browse files
committed
Import Google Slides Java snippets
1 parent c14ba87 commit 6304924

7 files changed

Lines changed: 952 additions & 0 deletions

File tree

slides/snippets/.gitignore

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
2+
3+
*.iml
4+
5+
## Directory-based project format:
6+
.idea/
7+
8+
# if you remove the above rule, at least ignore the following:
9+
10+
# User-specific stuff:
11+
# .idea/workspace.xml
12+
# .idea/tasks.xml
13+
# .idea/dictionaries
14+
# .idea/shelf
15+
16+
# Sensitive or high-churn files:
17+
# .idea/dataSources.ids
18+
# .idea/dataSources.xml
19+
# .idea/sqlDataSources.xml
20+
# .idea/dynamic.xml
21+
# .idea/uiDesigner.xml
22+
23+
# Gradle:
24+
.idea/gradle.xml
25+
.idea/libraries
26+
*.jar
27+
28+
# Mongo Explorer plugin:
29+
# .idea/mongoSettings.xml
30+
31+
## File-based project format:
32+
*.ipr
33+
*.iws
34+
35+
## Plugin-specific files:
36+
37+
# IntelliJ
38+
/out/
39+
40+
# mpeltonen/sbt-idea plugin
41+
.idea_modules/
42+
43+
# JIRA plugin
44+
atlassian-ide-plugin.xml
45+
46+
# Crashlytics plugin (for Android Studio and IntelliJ)
47+
com_crashlytics_export_strings.xml
48+
crashlytics.properties
49+
crashlytics-build.properties
50+
fabric.properties
51+
52+
.gradle
53+
build/
54+
bin/
55+
56+
# Ignore Gradle GUI config
57+
gradle-app.setting
58+
59+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
60+
!gradle-wrapper.jar
61+
62+
# Cache of project
63+
.gradletasknamecache
64+
65+
# Eclipse
66+
.project
67+
.settings/
68+
.classpath

slides/snippets/build.gradle

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apply plugin: 'java'
2+
3+
repositories {
4+
// Use 'jcenter' for resolving your dependencies.
5+
jcenter()
6+
}
7+
8+
dependencies {
9+
compile 'com.google.api-client:google-api-client:1.22.0'
10+
compile 'com.google.apis:google-api-services-drive:v3-rev45-1.22.0'
11+
compile 'com.google.apis:google-api-services-sheets:v4-rev34-1.22.0'
12+
testCompile 'junit:junit:4.12'
13+
14+
compile fileTree(dir: 'lib', include: ['*.jar'])
15+
}
16+
17+
test {
18+
testLogging.showStandardStreams = true
19+
}

slides/snippets/settings.gradle

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* This settings file was auto generated by the Gradle buildInit task
3+
* with Gradle 2.7
4+
*
5+
* The settings file is used to specify which projects to include in your build.
6+
* In a single project build this file can be empty or even removed.
7+
*
8+
* Detailed information about configuring a multi-project build in Gradle can be found
9+
* in the user guide at https://docs.gradle.org/2.7/userguide/multi_project_builds.html
10+
*/
11+
12+
/*
13+
// To declare projects as part of a multi-project build use the 'include' method
14+
include 'shared'
15+
include 'api'
16+
include 'services:webservice'
17+
*/
18+
19+
rootProject.name = 'slides-snippets'

0 commit comments

Comments
 (0)