Skip to content

Commit

Permalink
add gradle plugin in test application
Browse files Browse the repository at this point in the history
  • Loading branch information
farbod-s committed Oct 28, 2019
1 parent 4c099c2 commit d9d8aa7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions application-test/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}

apply plugin: 'com.example.my-gradle-plugin'
5 changes: 5 additions & 0 deletions application-test/app/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "1234",
"apiKey": "XXXXXXXXXX",
"isApiEnable": true
}
7 changes: 2 additions & 5 deletions application-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,18 @@ buildscript {
repositories {
google()
jcenter()

mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.example:my-gradle-plugin:1.0.0'
}
}

allprojects {
repositories {
google()
jcenter()

}
}

Expand Down

0 comments on commit d9d8aa7

Please sign in to comment.