Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
[Rename] Rename from Shorthand to Kaffeine.
Browse files Browse the repository at this point in the history
  • Loading branch information
ragunathjawahar committed Mar 26, 2015
1 parent ee7a314 commit 4c3eb90
Show file tree
Hide file tree
Showing 35 changed files with 26 additions and 26 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Shorthand
=========================
A collection of Android extensions written in Kotlin.
Kaffeine
========
Kaffeine is a Kotlin Android library to accelerate app development.

Activities & Services
-------------------------
---------------------
<h4>Example: Start an Activity</h4>
**Java**
````java
Expand All @@ -20,7 +20,7 @@ startActivity<SuperPowersActivity>(flags)
````

Layout Inflation
-------------------------
----------------
**Java**
````java
LayoutInflater layoutInflater = LayoutInflater.from(this);
Expand All @@ -33,7 +33,7 @@ val awesomeView = inflateLayout(R.layout.my_awesome_layout)
````

Logs
-------------------------
----
<h4>Example: Logging</h4>
**Java**
````java
Expand All @@ -53,7 +53,7 @@ wtf("Damn! WTF")
````

Preferences
-------------------------
-----------
<h4>Example: Single Preference</h4>
**Java**
````java
Expand Down Expand Up @@ -83,7 +83,7 @@ getDefaultSharedPreferences()
````

Toasts
-------------------------
------
<h4>Example: Short Message</h4>
**Java**
````java
Expand All @@ -110,7 +110,7 @@ showShortToast(view)
````

System Services
-------------------------
---------------
**Java**
````java
AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
Expand All @@ -124,7 +124,7 @@ val notificationManager = context.notificationManager()
````

Resources
-------------------------
---------
<h4>Example: Typeface from Assets</h4>
**Java**
````java
Expand All @@ -138,25 +138,25 @@ val sourceSansPro = typefaceFromAssets("fonts/source-sans-pro.ttf")
````

More...
-------------------------
-------
More extensions under development.

Maven
---------------------
-----
<dependency>
<groupId>com.mobsandgeeks</groupId>
<artifactId>shorthand</artifactId>
<artifactId>kaffeine</artifactId>
<version>0.1-SNAPSHOT</version>
</dependency>

Gradle
---------------------
------
dependencies {
compile 'com.mobsandgeeks:shorthand:0.1-SNAPSHOT'
compile 'com.mobsandgeeks:kaffeine:0.1-SNAPSHOT'
}

Snapshots
---------------------
---------
In your `{project_base}/build.gradle` file, include the following.

allprojects {
Expand All @@ -169,7 +169,7 @@ In your `{project_base}/build.gradle` file, include the following.
}

License
-------------------------
-------
Copyright 2015 Mobs & Geeks

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ VERSION_NAME=0.1-SNAPSHOT
GROUP=com.mobsandgeeks

POM_DESCRIPTION=Android extensions written in Kotlin
POM_URL=https://github.com/ragunathjawahar/shorthand
POM_SCM_URL=git@github.com:ragunathjawahar/shorthand.git
POM_SCM_CONNECTION=scm:git:git@github.com:ragunathjawahar/shorthand.git
POM_SCM_DEV_CONNECTION=scm:git:git@github.com:ragunathjawahar/shorthand.git
POM_URL=https://github.com/ragunathjawahar/kaffeine
POM_SCM_URL=git@github.com:ragunathjawahar/kaffeine.git
POM_SCM_CONNECTION=scm:git:git@github.com:ragunathjawahar/kaffeine.git
POM_SCM_DEV_CONNECTION=scm:git:git@github.com:ragunathjawahar/kaffeine.git
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'org.jetbrains.kotlin:kotlin-stdlib:0.11.+'
compile project(':shorthand')
compile project(':kaffeine')
}
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions kaffeine/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
POM_NAME=Kaffeine
POM_ARTIFACT_ID=kaffeine
POM_PACKAGING=jar
File renamed without changes.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':shorthand', ':shorthand-showcase'
include ':kaffeine', ':kaffeine-showcase'
3 changes: 0 additions & 3 deletions shorthand/gradle.properties

This file was deleted.

0 comments on commit 4c3eb90

Please sign in to comment.