Skip to content

Commit

Permalink
Issue-176: Making toothpick-javax-annotations optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemures committed Jan 20, 2017
1 parent 95319a8 commit bd6a0a0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions build.gradle
Expand Up @@ -114,6 +114,7 @@ subprojects { project ->
}

ext.deps = [// Common
inject : 'javax.inject:javax.inject:1',

// Compiler
javapoet : 'com.squareup:javapoet:1.4.0',
Expand Down
2 changes: 1 addition & 1 deletion smoothie/build.gradle
Expand Up @@ -23,7 +23,7 @@ configurations {
dependencies {
compile project(':toothpick')
processor project(':toothpick-compiler')
compile project(':toothpick-javax-annotations')
compile deps.inject
compile deps.android
optional deps.supportv4

Expand Down
2 changes: 1 addition & 1 deletion toothpick-compiler/build.gradle
Expand Up @@ -5,7 +5,7 @@ targetCompatibility = 1.7

dependencies {
compile project(':toothpick-generated-core')
compile project(':toothpick-javax-annotations')
compile deps.inject
compile deps.javapoet

testCompile deps.junit
Expand Down
2 changes: 1 addition & 1 deletion toothpick-sample/build.gradle
Expand Up @@ -5,7 +5,7 @@ dependencies {
compile project(':toothpick')
compile project(':toothpick-runtime')
compile project(':toothpick-compiler')
compile project(':toothpick-javax-annotations')
compile deps.inject

testCompile project(':toothpick-testing')
testCompile deps.easymock
Expand Down
2 changes: 1 addition & 1 deletion toothpick/build.gradle
Expand Up @@ -4,7 +4,7 @@ sourceCompatibility = 1.7
targetCompatibility = 1.7

dependencies {
compile project(':toothpick-javax-annotations')
compile deps.inject

testCompile deps.junit
}
Expand Down

0 comments on commit bd6a0a0

Please sign in to comment.