Skip to content

Commit

Permalink
Cleanup/upgrade pass in Gradle dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
kanawish committed Mar 29, 2017
1 parent c09810d commit d8f8e73
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 39 deletions.
11 changes: 5 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,24 @@

buildscript {
repositories {
mavenLocal()
// mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.0.0'

// Retrolambda Support
classpath 'me.tatarka:gradle-retrolambda:3.3.0'
classpath 'me.tatarka:gradle-retrolambda:3.5.0'

classpath 'com.google.gms:google-services:3.0.0'
}
}

allprojects {
repositories {
mavenLocal()
// mavenLocal()
maven { url "http://google.bintray.com/googlevr" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://jitpack.io" }
jcenter()
mavenCentral()
}
Expand Down
22 changes: 11 additions & 11 deletions commonLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {
}
}

final SUPPORT_LIB_VERSION = '25.1.0' // https://developer.android.com/topic/libraries/support-library/revisions.html
final SUPPORT_LIB_VERSION = '25.1.1' // https://developer.android.com/topic/libraries/support-library/revisions.html
final PLAY_SERVICES_VERSION = '10.0.1' // https://developers.google.com/android/guides/releases
final FIREBASE_VERSION = '10.0.1' // https://firebase.google.com/support/release-notes/android

Expand All @@ -38,26 +38,26 @@ dependencies {

// Timber Logging API: Better method signatures, easy log-level-by-flavor management, decent lint checks, etc.
// https://github.com/JakeWharton/timber
compile "com.jakewharton.timber:timber:4.4.0" // https://github.com/JakeWharton/timber/blob/master/CHANGELOG.md
compile "com.jakewharton.timber:timber:4.5.1" // https://github.com/JakeWharton/timber/blob/master/CHANGELOG.md

// UI
compile 'com.dmitrymalkovich.android:material-design-dimens:1.4' // https://github.com/DmitryMalkovich/material-design-dimens

// Data Manip
compile "com.squareup.moshi:moshi:1.3.1" // https://github.com/square/moshi/blob/master/CHANGELOG.md

// RxJava 2
compile "io.reactivex.rxjava2:rxjava:2.0.5" // https://github.com/ReactiveX/RxJava/blob/2.x/CHANGES.md
// RxJava 2 for your declarative programming needs
compile "io.reactivex.rxjava2:rxjava:2.0.6" // https://github.com/ReactiveX/RxJava/blob/2.x/CHANGES.md
compile "io.reactivex.rxjava2:rxandroid:2.0.1" // https://github.com/ReactiveX/RxAndroid/blob/2.x/CHANGES.md
compile "com.github.akarnokd:rxjava2-extensions:0.15.0" // https://github.com/akarnokd/RxJava2Extensions
compile "com.github.pakoito:FunctionalRx2:1.1.0" // https://github.com/pakoito/FunctionalRx2

// Square Networking
compile "com.squareup.okhttp3:okhttp:3.5.0" // https://github.com/square/okhttp/blob/master/CHANGELOG.md
compile "com.squareup.okhttp3:okhttp-urlconnection:3.5.0"
debugCompile "com.squareup.okhttp3:logging-interceptor:3.5.0"
compile "com.squareup.retrofit2:retrofit:2.1.0" // https://github.com/square/retrofit/blob/master/CHANGELOG.md
compile "com.squareup.retrofit2:converter-gson:2.1.0"
compile "com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0" // https://github.com/JakeWharton/retrofit2-rxjava2-adapter/blob/master/CHANGELOG.md
compile "com.squareup.okhttp3:okhttp:3.6.0" // https://github.com/square/okhttp/blob/master/CHANGELOG.md
compile "com.squareup.okhttp3:okhttp-urlconnection:3.6.0"
debugCompile "com.squareup.okhttp3:logging-interceptor:3.6.0"
compile "com.squareup.retrofit2:retrofit:2.2.0" // https://github.com/square/retrofit/blob/master/CHANGELOG.md
compile "com.squareup.retrofit2:converter-gson:2.2.0"
compile "com.squareup.retrofit2:adapter-rxjava2:2.2.0"
compile "com.squareup.picasso:picasso:2.5.2" // https://github.com/square/picasso/blob/master/CHANGELOG.md
compile "com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0" // https://github.com/JakeWharton/picasso2-okhttp3-downloader/blob/master/CHANGELOG.md

Expand Down
2 changes: 1 addition & 1 deletion glDemo/src/main/assets/shaders/_300.default.v4.fs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void main() {
}
else
out_color = vColor;

// out_color += vec4(vPosition.x,vPosition.y,0.0,0.0);
//out_color = vColor ; // - (rand(gl_FragCoord.xy/uResolution) * 0.10);
// gl_FragColor.a = 1.0;
Expand Down
21 changes: 17 additions & 4 deletions glEpisodes/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,23 @@ dependencies {
compile 'com.google.vr:sdk-base:1.10.0'
compile 'com.google.vr:sdk-common:1.10.0'

// DI stack
annotationProcessor "com.github.stephanenicolas.toothpick:toothpick-compiler:1.0.3" // https://github.com/stephanenicolas/toothpick/blob/master/CHANGELOG.md
compile "com.github.stephanenicolas.toothpick:toothpick-runtime:1.0.3"
compile "com.github.stephanenicolas.toothpick:smoothie:1.0.3"
// DI Stack
annotationProcessor "com.github.stephanenicolas.toothpick:toothpick-compiler:1.0.5" // https://github.com/stephanenicolas/toothpick/blob/master/CHANGELOG.md
compile "com.github.stephanenicolas.toothpick:toothpick-runtime:1.0.5"
compile "com.github.stephanenicolas.toothpick:smoothie:1.0.5"

// APT/Plugin based boilerplate removal
compile "com.jakewharton:butterknife:8.5.1" // https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md
annotationProcessor "com.jakewharton:butterknife-compiler:8.5.1"

annotationProcessor "com.google.auto.value:auto-value:1.3" // https://github.com/google/auto
annotationProcessor "com.ryanharter.auto.value:auto-value-gson:0.4.6" // https://github.com/rharter/auto-value-gson/blob/master/CHANGELOG.md
annotationProcessor "me.mattlogan.auto.value:auto-value-firebase:1.0.1" // https://github.com/mattlogan/auto-value-firebase/blob/master/CHANGELOG.md
annotationProcessor "com.gabrielittner.auto.value:auto-value-with:1.0.0" // https://github.com/gabrielittner/auto-value-with/blob/master/CHANGELOG.md
provided "com.google.auto.value:auto-value:1.3"
provided "com.ryanharter.auto.value:auto-value-gson:0.4.6"
provided "me.mattlogan.auto.value:auto-value-firebase-annotation:1.0.1"
compile "me.mattlogan.auto.value:auto-value-firebase-adapter:1.0.1"

}

Expand Down
20 changes: 14 additions & 6 deletions gldemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,25 @@ dependencies {
compile 'com.google.vr:sdk-base:1.10.0'
compile 'com.google.vr:sdk-common:1.10.0'


// DI stack
annotationProcessor "com.github.stephanenicolas.toothpick:toothpick-compiler:1.0.3" // https://github.com/stephanenicolas/toothpick/blob/master/CHANGELOG.md
compile "com.github.stephanenicolas.toothpick:toothpick-runtime:1.0.3"
compile "com.github.stephanenicolas.toothpick:smoothie:1.0.3"

// Boilerplate removers
compile "com.jakewharton:butterknife:8.4.0" // https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md
annotationProcessor "com.jakewharton:butterknife-compiler:8.4.0"
provided "com.google.auto.value:auto-value:1.2" // https://github.com/google/auto
annotationProcessor "com.google.auto.value:auto-value:1.2"
annotationProcessor "com.ryanharter.auto.value:auto-value-gson:0.4.2" // https://github.com/rharter/auto-value-gson/blob/master/CHANGELOG.md
// APT/Plugin based boilerplate removal
compile "com.jakewharton:butterknife:8.5.1" // https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md
annotationProcessor "com.jakewharton:butterknife-compiler:8.5.1"

annotationProcessor "com.google.auto.value:auto-value:1.3" // https://github.com/google/auto
annotationProcessor "com.ryanharter.auto.value:auto-value-gson:0.4.6" // https://github.com/rharter/auto-value-gson/blob/master/CHANGELOG.md
annotationProcessor "me.mattlogan.auto.value:auto-value-firebase:1.0.1" // https://github.com/mattlogan/auto-value-firebase/blob/master/CHANGELOG.md
annotationProcessor "com.gabrielittner.auto.value:auto-value-with:1.0.0" // https://github.com/gabrielittner/auto-value-with/blob/master/CHANGELOG.md
provided "com.google.auto.value:auto-value:1.3"
provided "com.ryanharter.auto.value:auto-value-gson:0.4.6"
provided "me.mattlogan.auto.value:auto-value-firebase-annotation:1.0.1"
compile "me.mattlogan.auto.value:auto-value-firebase-adapter:1.0.1"


androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
Expand Down
26 changes: 19 additions & 7 deletions rajaDemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'

android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
compileSdkVersion 25
buildToolsVersion "25.0.2"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationId "com.kanawish.sample.raja"
minSdkVersion 19
targetSdkVersion 24
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
Expand All @@ -35,11 +35,23 @@ android {
dependencies {
compile project(':commonLib')

annotationProcessor "com.github.stephanenicolas.toothpick:toothpick-compiler:1.0.3" // https://github.com/stephanenicolas/toothpick/blob/master/CHANGELOG.md
compile "com.github.stephanenicolas.toothpick:toothpick-runtime:1.0.3"
compile "com.github.stephanenicolas.toothpick:smoothie:1.0.3"
// DI Stack
annotationProcessor "com.github.stephanenicolas.toothpick:toothpick-compiler:1.0.5" // https://github.com/stephanenicolas/toothpick/blob/master/CHANGELOG.md
compile "com.github.stephanenicolas.toothpick:toothpick-runtime:1.0.5"
compile "com.github.stephanenicolas.toothpick:smoothie:1.0.5"

// compile 'org.rajawali3d:rajawali:1.0.325@aar'
// APT/Plugin based boilerplate removal
compile "com.jakewharton:butterknife:8.5.1" // https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md
annotationProcessor "com.jakewharton:butterknife-compiler:8.5.1"

annotationProcessor "com.google.auto.value:auto-value:1.3" // https://github.com/google/auto
annotationProcessor "com.ryanharter.auto.value:auto-value-gson:0.4.6" // https://github.com/rharter/auto-value-gson/blob/master/CHANGELOG.md
annotationProcessor "me.mattlogan.auto.value:auto-value-firebase:1.0.1" // https://github.com/mattlogan/auto-value-firebase/blob/master/CHANGELOG.md
annotationProcessor "com.gabrielittner.auto.value:auto-value-with:1.0.0" // https://github.com/gabrielittner/auto-value-with/blob/master/CHANGELOG.md
provided "com.google.auto.value:auto-value:1.3"
provided "com.ryanharter.auto.value:auto-value-gson:0.4.6"
provided "me.mattlogan.auto.value:auto-value-firebase-annotation:1.0.1"
compile "me.mattlogan.auto.value:auto-value-firebase-adapter:1.0.1"

// Latest version of Rajawali
// see https://github.com/Rajawali/Rajawali
Expand Down
21 changes: 17 additions & 4 deletions rajaVrDemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,23 @@ dependencies {

compile project(':commonLib')

// APT/Plugin based goodness
annotationProcessor "com.github.stephanenicolas.toothpick:toothpick-compiler:1.0.3" // https://github.com/stephanenicolas/toothpick/blob/master/CHANGELOG.md
compile "com.github.stephanenicolas.toothpick:toothpick-runtime:1.0.3"
compile "com.github.stephanenicolas.toothpick:smoothie:1.0.3"
// DI Stack
annotationProcessor "com.github.stephanenicolas.toothpick:toothpick-compiler:1.0.5" // https://github.com/stephanenicolas/toothpick/blob/master/CHANGELOG.md
compile "com.github.stephanenicolas.toothpick:toothpick-runtime:1.0.5"
compile "com.github.stephanenicolas.toothpick:smoothie:1.0.5"

// APT/Plugin based boilerplate removal
compile "com.jakewharton:butterknife:8.5.1" // https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md
annotationProcessor "com.jakewharton:butterknife-compiler:8.5.1"

annotationProcessor "com.google.auto.value:auto-value:1.3" // https://github.com/google/auto
annotationProcessor "com.ryanharter.auto.value:auto-value-gson:0.4.6" // https://github.com/rharter/auto-value-gson/blob/master/CHANGELOG.md
annotationProcessor "me.mattlogan.auto.value:auto-value-firebase:1.0.1" // https://github.com/mattlogan/auto-value-firebase/blob/master/CHANGELOG.md
annotationProcessor "com.gabrielittner.auto.value:auto-value-with:1.0.0" // https://github.com/gabrielittner/auto-value-with/blob/master/CHANGELOG.md
provided "com.google.auto.value:auto-value:1.3"
provided "com.ryanharter.auto.value:auto-value-gson:0.4.6"
provided "me.mattlogan.auto.value:auto-value-firebase-annotation:1.0.1"
compile "me.mattlogan.auto.value:auto-value-firebase-adapter:1.0.1"

// SNAPSHOT versions of Rajawali can be used in some cases
// see https://github.com/Rajawali/Rajawali
Expand Down

0 comments on commit d8f8e73

Please sign in to comment.