Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 495c9c5

Browse files
committed
first commit
0 parents  commit 495c9c5

15 files changed

Lines changed: 498 additions & 0 deletions

File tree

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.gradle
2+
/local.properties
3+
/.idea/workspace.xml
4+
/.idea/libraries
5+
.DS_Store
6+
/build
7+
*.iml
8+
/.idea
9+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Scrolling Image View

build.gradle

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
3+
buildscript {
4+
repositories {
5+
jcenter()
6+
}
7+
dependencies {
8+
classpath 'com.android.tools.build:gradle:1.2.3'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
10+
}
11+
}
12+
13+
allprojects {
14+
repositories {
15+
jcenter()
16+
}
17+
}

gradle.properties

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Project-wide Gradle settings.
2+
3+
# IDE (e.g. Android Studio) users:
4+
# Gradle settings configured through the IDE *will override*
5+
# any settings specified in this file.
6+
7+
# For more details on how to configure your build environment visit
8+
# http://www.gradle.org/docs/current/userguide/build_environment.html
9+
10+
# Specifies the JVM arguments used for the daemon process.
11+
# The setting is particularly useful for tweaking memory settings.
12+
# Default value: -Xmx10248m -XX:MaxPermSize=256m
13+
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14+
15+
# When configured, Gradle will run in incubating parallel mode.
16+
# This option should only be used with decoupled projects. More details, visit
17+
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18+
# org.gradle.parallel=true

gradle/wrapper/gradle-wrapper.jar

48.7 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Wed Apr 10 15:27:10 PDT 2013
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-bin.zip

gradlew

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

library/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

library/build.gradle

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
apply plugin: 'com.android.library'
2+
apply plugin: 'com.github.dcendents.android-maven'
3+
4+
group = 'com.q42.android.scrollingimageview'
5+
6+
android {
7+
compileSdkVersion 21
8+
buildToolsVersion "21.1.2"
9+
10+
defaultConfig {
11+
minSdkVersion 16
12+
targetSdkVersion 22
13+
versionCode 1
14+
versionName "1.0"
15+
}
16+
buildTypes {
17+
release {
18+
minifyEnabled false
19+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
20+
}
21+
}
22+
}
23+
24+
dependencies {
25+
// add dependencies here
26+
}
27+
28+
// build a jar with source files
29+
task sourcesJar(type: Jar) {
30+
from android.sourceSets.main.java.srcDirs
31+
classifier = 'sources'
32+
}
33+
34+
task javadoc(type: Javadoc) {
35+
failOnError false
36+
source = android.sourceSets.main.java.sourceFiles
37+
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
38+
}
39+
40+
// build a jar with javadoc
41+
task javadocJar(type: Jar, dependsOn: javadoc) {
42+
classifier = 'javadoc'
43+
from javadoc.destinationDir
44+
}
45+
46+
artifacts {
47+
archives sourcesJar
48+
archives javadocJar
49+
}
50+
51+
// uncomment to build a jar file in addition to the default aar file
52+
//android.libraryVariants.all { variant ->
53+
// def name = variant.buildType.name
54+
// def task = project.tasks.create "jar${name.capitalize()}", Jar
55+
// task.dependsOn variant.javaCompile
56+
// task.from variant.javaCompile.destinationDir
57+
// artifacts.add('archives', task);
58+
//}

0 commit comments

Comments
 (0)