Skip to content

Commit

Permalink
SwissKnife now works in Android 4.0-4.1. Version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinesp committed Aug 23, 2014
1 parent 8ee554c commit 058b8f1
Show file tree
Hide file tree
Showing 10 changed files with 230 additions and 257 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog:

### Versions:

* **1.0.1** - SwissKnife is now compatible with Android 4.0 - 4.1.
* **1.0.0** - Initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Once your project App Module is configured to use Groovy you can add this librar
```groovy
dependencies {
...
compile 'com.arasthel:swissknife:1.0.0'
compile 'com.arasthel:swissknife:1.0.1'
...
}
Expand Down
4 changes: 3 additions & 1 deletion SwissKnife/SwissKnife.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.arasthel" external.system.module.version="1.0.0" type="JAVA_MODULE" version="4">
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.arasthel" external.system.module.version="1.0.1" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
Expand Down Expand Up @@ -76,7 +76,9 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/libs" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/poms" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
Expand Down
2 changes: 1 addition & 1 deletion SwissKnife/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android {
minSdkVersion 8
targetSdkVersion 19
versionCode 1
versionName "1.0"
versionName "1.0.1"
}
buildTypes {
release {
Expand Down
454 changes: 209 additions & 245 deletions SwissKnife/src/main/java/com/arasthel/swissknife/SwissKnife.groovy

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion SwissKnifeProject.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="com.arasthel" external.system.module.version="1.0.0" type="JAVA_MODULE" version="4">
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="com.arasthel" external.system.module.version="1.0.1" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME=1.0.0
VERSION_CODE=1
VERSION_NAME=1.0.1
VERSION_CODE=2
GROUP=com.arasthel

POM_DESCRIPTION=Android library for View Injection and Async processing
Expand Down
6 changes: 3 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ android {

defaultConfig {
applicationId "com.dexafree.sample"
minSdkVersion 17
minSdkVersion 14
targetSdkVersion 19
versionCode 1
versionName "1.0"
Expand All @@ -39,6 +39,6 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.arasthel:swissknife:1.0.0'
compile 'org.codehaus.groovy:groovy:2.4.0-beta-1:grooid'
compile project(':SwissKnife')
compile 'org.codehaus.groovy:groovy:2.4.0-beta-2:grooid'
}
5 changes: 2 additions & 3 deletions sample/sample.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.arasthel" external.system.module.version="1.0.0" type="JAVA_MODULE" version="4">
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.arasthel" external.system.module.version="1.0.1" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
Expand Down Expand Up @@ -80,10 +80,9 @@
</content>
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="swissknife-1.0.0" level="project" />
<orderEntry type="library" exported="" name="support-annotations-20.0.0" level="project" />
<orderEntry type="library" exported="" name="support-v4-20.0.0" level="project" />
<orderEntry type="library" exported="" name="groovy-2.4.0-beta-2-grooid" level="project" />
<orderEntry type="module" module-name="SwissKnife" exported="" />
</component>
</module>

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import com.arasthel.swissknife.annotations.InjectView
import com.arasthel.swissknife.annotations.OnBackground
import com.arasthel.swissknife.annotations.OnClick
import com.arasthel.swissknife.annotations.OnUIThread
import groovy.transform.CompileStatic

@CompileStatic
public class BackgroundActivity extends Activity {

private Context mContext;
Expand Down

0 comments on commit 058b8f1

Please sign in to comment.