Skip to content

Commit

Permalink
fix: Allow using plugin with different AGP versions by not using inte…
Browse files Browse the repository at this point in the history
…rnal AGP apis (#152)
  • Loading branch information
mateuszkwiecinski authored Oct 13, 2020
1 parent 54b155a commit b350b50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## Fixed
- Allow using plugin with different AGP versions by not using internal AGP apis

## [0.21.0] - 2020-10-13
## Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal fun BaseExtension.configureAndroidPlugin(rootConfig: RootConfigExtensio
compileSdkVersion(rootConfig.android.compileSdkVersion)
minSdkVersion(rootConfig.android.minSdkVersion)
targetSdkVersion(rootConfig.android.targetSdkVersion ?: rootConfig.android.compileSdkVersion)
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
setTestInstrumentationRunner("androidx.test.runner.AndroidJUnitRunner")
}
dexOptions.preDexLibraries = true
addKotlinSourceSets()
Expand Down

0 comments on commit b350b50

Please sign in to comment.