-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: Dependencies to latest versions (#107)
This includes AGP update to version 8.6
- Loading branch information
Showing
6 changed files
with
35 additions
and
37 deletions.
There are no files selected for viewing
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 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 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 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
14 changes: 12 additions & 2 deletions
14
plugin/src/main/kotlin/org/neotech/plugin/rootcoverage/utilities/ProjectExtensions.kt
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,9 +1,19 @@ | ||
package org.neotech.plugin.rootcoverage.utilities | ||
|
||
import org.gradle.api.Project | ||
import org.gradle.api.file.Directory | ||
import org.gradle.api.file.RegularFile | ||
import org.gradle.api.provider.Provider | ||
import java.io.File | ||
|
||
/** | ||
* Returns the output report path composed from the given [fileName] as a [File]. | ||
* Returns the output report file composed from the given [fileName] as a [RegularFile]. | ||
*/ | ||
internal fun Project.getReportOutputFile(fileName: String): File = file("$buildDir/reports/$fileName") | ||
internal fun Project.getReportOutputFile(fileName: String): Provider<RegularFile> = | ||
layout.buildDirectory.file("reports/$fileName") | ||
|
||
/** | ||
* Returns the output report path composed from the given [directory] as a [Directory]. | ||
*/ | ||
internal fun Project.getReportOutputDir(directory: String): Provider<Directory> = | ||
layout.buildDirectory.dir("reports/$directory") |
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