Skip to content

Commit

Permalink
:drop dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
eddmash committed Nov 25, 2017
1 parent ad6c2ae commit 621f560
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 150 deletions.
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.library'

ext {
versionCode = 13
versionCode = 14
bintrayRepo = 'maven'
bintrayName = 'validation'

Expand Down Expand Up @@ -49,9 +49,7 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.google.code.findbugs:jsr305:2.0.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.google.guava:guava:23.0-android'

testCompile 'junit:junit:4.12'
}
//Add these lines to publish library to bintray
Expand Down
32 changes: 0 additions & 32 deletions docs/source/com/eddmash/validation/utils/NumericRange.rst

This file was deleted.

10 changes: 0 additions & 10 deletions docs/source/com/eddmash/validation/utils/package-index.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ Javadoc
com/eddmash/validation/package-index
com/eddmash/validation/checks/package-index
com/eddmash/validation/renderer/package-index
com/eddmash/validation/utils/package-index

Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@
* file that was distributed with this source code.
*/

import android.app.Activity;
import android.graphics.Color;
import android.graphics.Typeface;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.GridLayout;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.eddmash.validation.Validator;
import com.eddmash.validation.ValidatorInterface;

import java.util.List;
Expand All @@ -28,12 +27,12 @@
*/
public class ErrorRenderer implements RendererInterface {

private AppCompatActivity context;
private Activity context;
private ValidatorInterface validator;

public ErrorRenderer(AppCompatActivity compatActivity, ValidatorInterface validatorInterface) {
public ErrorRenderer(Activity activity, ValidatorInterface validatorInterface) {

this.context = compatActivity;
this.context = activity;
this.validator = validatorInterface;
}

Expand Down
79 changes: 0 additions & 79 deletions src/main/java/com/eddmash/validation/utils/NumericRange.java

This file was deleted.

23 changes: 4 additions & 19 deletions validation.iml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/intermediate-jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaPrecompile" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
Expand All @@ -108,31 +107,17 @@
<orderEntry type="jdk" jdkName="Android API 25 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="com.android.support.test:exposed-instrumentation-api-publish-0.5" level="project" />
<orderEntry type="library" scope="TEST" name="junit:junit:4.12@jar" level="project" />
<orderEntry type="library" name="org.codehaus.mojo:animal-sniffer-annotations:1.14@jar" level="project" />
<orderEntry type="library" scope="TEST" name="javax.inject:javax.inject:1@jar" level="project" />
<orderEntry type="library" name="com.android.support:support-core-ui-25.3.1" level="project" />
<orderEntry type="library" scope="TEST" name="com.squareup:javawriter:2.1.1@jar" level="project" />
<orderEntry type="library" name="com.android.support:support-compat-25.3.1" level="project" />
<orderEntry type="library" name="com.google.errorprone:error_prone_annotations:2.0.18@jar" level="project" />
<orderEntry type="library" name="com.android.support:support-core-utils-25.3.1" level="project" />
<orderEntry type="library" name="com.android.support:support-v4-25.3.1" level="project" />
<orderEntry type="library" name="com.google.guava:guava:23.0-android@jar" level="project" />
<orderEntry type="library" name="com.android.support:support-fragment-25.3.1" level="project" />
<orderEntry type="library" name="com.android.support:support-media-compat-25.3.1" level="project" />
<orderEntry type="library" name="com.google.code.findbugs:jsr305:2.0.1@jar" level="project" />
<orderEntry type="library" scope="TEST" name="org.hamcrest:hamcrest-core:1.3@jar" level="project" />
<orderEntry type="library" scope="TEST" name="com.android.support.test.espresso:espresso-core-2.2.2" level="project" />
<orderEntry type="library" name="com.android.support:animated-vector-drawable-25.3.1" level="project" />
<orderEntry type="library" scope="TEST" name="junit:junit:4.12@jar" level="project" />
<orderEntry type="library" scope="TEST" name="com.android.support.test:rules-0.5" level="project" />
<orderEntry type="library" scope="TEST" name="org.hamcrest:hamcrest-library:1.3@jar" level="project" />
<orderEntry type="library" scope="TEST" name="org.hamcrest:hamcrest-integration:1.3@jar" level="project" />
<orderEntry type="library" scope="TEST" name="javax.inject:javax.inject:1@jar" level="project" />
<orderEntry type="library" scope="TEST" name="com.android.support.test:runner-0.5" level="project" />
<orderEntry type="library" name="com.android.support:appcompat-v7-25.3.1" level="project" />
<orderEntry type="library" scope="TEST" name="com.squareup:javawriter:2.1.1@jar" level="project" />
<orderEntry type="library" scope="TEST" name="com.android.support.test.espresso:espresso-idling-resource-2.2.2" level="project" />
<orderEntry type="library" scope="TEST" name="javax.annotation:javax.annotation-api:1.2@jar" level="project" />
<orderEntry type="library" name="com.google.j2objc:j2objc-annotations:1.1@jar" level="project" />
<orderEntry type="library" name="com.android.support:support-vector-drawable-25.3.1" level="project" />
<orderEntry type="library" name="com.android.support:support-annotations:25.3.1@jar" level="project" />
<orderEntry type="library" scope="TEST" name="com.google.code.findbugs:jsr305:2.0.1@jar" level="project" />
</component>
</module>

0 comments on commit 621f560

Please sign in to comment.