-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
52 additions
and
36 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
plugins { | ||
java | ||
id("kotlin") | ||
id("kotlin-kapt") | ||
} | ||
|
||
dependencies { | ||
implementation(Deps.kotlinStdLib) | ||
implementation(project(":autovalue")) | ||
kapt(project(":processor")) | ||
kapt(project(":autovalue")) | ||
|
||
testImplementation(Deps.junit) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
plugins { | ||
java | ||
id("kotlin") | ||
} | ||
|
||
dependencies { | ||
compile(project(":core")) | ||
compile(project(":annotation")) | ||
compile(project(":processor-common")) | ||
compile(Deps.autoValueAnnotation) | ||
implementation(Deps.javaPoet) | ||
implementation(Deps.autoService) | ||
implementation(Deps.kotlinStdLib) | ||
implementation(Deps.autoValueProcessor) | ||
|
||
testImplementation(Deps.junit) | ||
testImplementation(Deps.truth) | ||
testImplementation(Deps.compileTesting) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,28 @@ | ||
object Versions { | ||
const val autoService = "1.0-rc4" | ||
const val autoValue = "1.6.2" | ||
const val junit = "4.12" | ||
const val kotlin = "1.3.0" | ||
const val javaPoet = "1.11.1" | ||
const val compileTesting = "0.15" | ||
const val truth = "0.42" | ||
} | ||
|
||
object Deps { | ||
// testing | ||
const val junit = "junit:junit:${Versions.junit}" | ||
const val compileTesting = "com.google.testing.compile:compile-testing:${Versions.compileTesting}" | ||
const val truth = "com.google.truth:truth:${Versions.truth}" | ||
|
||
// google auto | ||
const val autoService ="com.google.auto.service:auto-service:${Versions.autoService}" | ||
const val autoValueProcessor = "com.google.auto.value:auto-value:${Versions.autoValue}" | ||
const val autoValueAnnotation = "com.google.auto.value:auto-value-annotations:${Versions.autoValue}" | ||
const val junit = "junit:junit:${Versions.junit}" | ||
|
||
// kotlin | ||
const val kotlinStdLib = "org.jetbrains.kotlin:kotlin-stdlib:${Versions.kotlin}" | ||
const val kotlinReflect = "org.jetbrains.kotlin:kotlin-reflect:${Versions.kotlin}" | ||
const val kotlinTestJunit = "org.jetbrains.kotlin:kotlin-test-junit:${Versions.kotlin}" | ||
|
||
const val javaPoet = "com.squareup:javapoet:${Versions.javaPoet}" | ||
} |