File tree Expand file tree Collapse file tree
sentry-android-gradle-plugin/src/main/groovy/io/sentry/android/gradle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class SentryPlugin implements Plugin<Project> {
132132 * @return
133133 */
134134 static String getDebugMetaPropPath (Project project , ApplicationVariant variant ) {
135- return " ${ project.rootDir.toPath() } / ${ project.name } /build /intermediates/assets/${ variant.dirName} /sentry-debug-meta.properties"
135+ return " ${ project.buildDir } /intermediates/assets/${ variant.dirName} /sentry-debug-meta.properties"
136136 }
137137
138138 void apply (Project project ) {
@@ -198,9 +198,9 @@ class SentryPlugin implements Plugin<Project> {
198198 def flavorName = variant. flavorName
199199 def propName = " sentry.properties"
200200 def possibleProps = [
201- " ${ project.rootDir.toPath() } / ${ project.name } /src/${ variantName} /${ propName} " ,
202- " ${ project.rootDir.toPath() } / ${ project.name } /src/${ variantName} /${ flavorName} /${ propName} " ,
203- " ${ project.rootDir.toPath() } / ${ project.name } /src/${ flavorName} /${ variantName} /${ propName} " ,
201+ " ${ project.projectDir } /src/${ variantName} /${ propName} " ,
202+ " ${ project.projectDir } /src/${ variantName} /${ flavorName} /${ propName} " ,
203+ " ${ project.projectDir } /src/${ flavorName} /${ variantName} /${ propName} " ,
204204 " ${ project.rootDir.toPath()} /src/${ variantName} /${ propName} " ,
205205 " ${ project.rootDir.toPath()} /src/${ variantName} /${ flavorName} /${ propName} " ,
206206 " ${ project.rootDir.toPath()} /src/${ flavorName} /${ variantName} /${ propName} " ,
You can’t perform that action at this time.
0 commit comments