Skip to content

Commit a528b8e

Browse files
committed
Initial Project Structure
Produces an *.aar file to use your Android app. As we embark on this journey to decompose WordPress-Android into pure platonic components, let us commemorate this first library project with words by Douglas Adams: > There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened.
0 parents  commit a528b8e

File tree

10 files changed

+299
-0
lines changed

10 files changed

+299
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.gradle/
2+
build/*

WordPressUtils/build.gradle

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
buildscript {
3+
repositories {
4+
mavenCentral()
5+
}
6+
dependencies { classpath 'com.android.tools.build:gradle:0.11.+' }
7+
}
8+
9+
apply plugin: 'android-library'
10+
11+
repositories {
12+
mavenCentral()
13+
}
14+
15+
android {
16+
17+
compileSdkVersion 19
18+
buildToolsVersion "19.1.0"
19+
20+
defaultConfig {
21+
applicationId "org.wordpress.android.utils"
22+
versionName "1.0.0"
23+
versionCode 1
24+
minSdkVersion 14
25+
targetSdkVersion 19
26+
}
27+
28+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="org.wordpress.android.utils">
4+
5+
</manifest>

WordPressUtils/src/main/org/wordpress/android/util/README.md

Whitespace-only changes.

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
task wrapper(type: Wrapper) {
2+
gradleVersion = '1.11'
3+
}

gradle/wrapper/gradle-wrapper.jar

50.1 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Mon Jun 30 12:35:54 EDT 2014
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-1.11-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.

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ':WordPressUtils'

0 commit comments

Comments
 (0)