Skip to content

Commit

Permalink
Update copyright and gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkumar9t2 committed Apr 21, 2018
1 parent 3914782 commit 272f7ea
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 23 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -19,9 +19,10 @@ buildscript {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.novoda:bintray-release:0.7.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2017 Arunkumar
# Copyright 2018 Arunkumar
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -14,9 +14,9 @@
# limitations under the License.
#

#Mon Nov 27 06:30:14 IST 2017
#Sat Apr 21 23:47:29 IST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion library/gradle-jcenter-push.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion library/src/androidTest/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright 2017 Arunkumar
~ Copyright 2018 Arunkumar
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -34,7 +34,7 @@ public RxSuggestionsTest() {
}

@Test
public void fetchSuggestionsCountTest() throws Exception {
public void fetchSuggestionsCountTest() {
final TestSubscriber<List<String>> testSubscriber = TestSubscriber.create();
int maxSuggestions = 1;
RxSuggestions.fetch("a", maxSuggestions).subscribe(testSubscriber);
Expand All @@ -54,7 +54,7 @@ public void fetchSuggestionsCountTest() throws Exception {
}

@Test
public void fetchSuggestionsNoErrorTest() throws Exception {
public void fetchSuggestionsNoErrorTest() {
final TestSubscriber<List<String>> testSubscriber = TestSubscriber.create();
RxSuggestions.fetch("Something").subscribe(testSubscriber);
if (Util.isOnline()) {
Expand All @@ -65,7 +65,7 @@ public void fetchSuggestionsNoErrorTest() throws Exception {
}
}

public void fetchSuggestionValueReceivedTest() throws Exception {
public void fetchSuggestionValueReceivedTest() {
final TestSubscriber<List<String>> testSubscriber = TestSubscriber.create();
RxSuggestions.fetch("a").subscribe(testSubscriber);

Expand All @@ -82,7 +82,7 @@ public void fetchSuggestionValueReceivedTest() throws Exception {
}

@Test
public void fetchSuggestionsForEmptyString() throws Exception {
public void fetchSuggestionsForEmptyString() {
String searchTerm = " ";
final TestSubscriber<List<String>> testSubscriber = TestSubscriber.create();
RxSuggestions.fetch(searchTerm).subscribe(testSubscriber);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -35,7 +35,7 @@ public RxSuggestionsTransformerTest() {
}

@Test
public void fetchSuggestionsTransformerTest() throws Exception {
public void fetchSuggestionsTransformerTest() {
final Observable<List<String>> listObservable = Observable
.just("1", "2", "3")
.concatMap(each -> Observable.just(each).delay(5, TimeUnit.SECONDS))
Expand All @@ -62,7 +62,7 @@ public void fetchSuggestionsTransformerTest() throws Exception {
}

@Test
public void transformerEmptyFilterTest() throws Exception {
public void transformerEmptyFilterTest() {
final Observable<List<String>> listObservable = Observable
.just("1", " ")
.concatMap(each -> Observable.just(each).delay(5, TimeUnit.SECONDS))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright 2017 Arunkumar
~ Copyright 2018 Arunkumar
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright 2017 Arunkumar
~ Copyright 2018 Arunkumar
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Arunkumar
* Copyright 2018 Arunkumar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,7 @@
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}

0 comments on commit 272f7ea

Please sign in to comment.