Skip to content

Commit e5e5edc

Browse files
authored
Add type safe accessors to example project (#125)
1 parent b4938aa commit e5e5edc

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

example/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies {
88
implementation project(':feature-one')
99
implementation project(':feature-two')
1010
implementation project(':feature-exclusion-test')
11-
implementation project(':lib')
11+
implementation projects.lib
1212

1313
implementation 'javax.inject:javax.inject:1'
1414
}

example/core-testing/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'java-library'
22

33
dependencies {
4-
implementation project(':core')
4+
implementation projects.core
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'java-library'
22

33
dependencies {
4-
implementation project(':core')
4+
implementation projects.core
55
}

example/feature-one/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ plugins {
55
apply plugin: 'java-library'
66

77
dependencies {
8-
implementation project(':core')
9-
implementation project(':lib')
8+
implementation projects.core
9+
implementation projects.lib
1010
implementation project(':feature-one:nested')
1111
implementation project(':feature-exclusion-test')
1212
}

example/feature-two/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apply plugin: 'java-library'
22

33
dependencies {
4-
implementation project(':core')
4+
implementation projects.core
55

6-
api project(':lib')
6+
api projects.lib
77

88
testImplementation project(':core-testing')
99
}

example/lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'java-library'
22

33
dependencies {
4-
implementation project(':core')
4+
implementation projects.core
55
}

example/settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
includeBuild("../")
2+
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
23

34
include ':app', ':lib', ':core', ':feature-one', ':feature-two', ':feature-one:nested', ':feature-exclusion-test', 'core-testing'

0 commit comments

Comments
 (0)