Skip to content

Commit b470347

Browse files
committed
code clean up
1 parent 6584573 commit b470347

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ dependencies {
3939

4040
// Use the Kotlin test library.
4141
testImplementation("org.jetbrains.kotlin:kotlin-test")
42-
testImplementation(gradleTestKit())
4342

4443
// Use the Kotlin JUnit integration.
4544
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
@@ -60,8 +59,6 @@ val functionalTest by tasks.creating(Test::class) {
6059
classpath = functionalTestSourceSet.runtimeClasspath
6160
}
6261

63-
//tasks.create<SystemProcess>("hoodwink")
64-
6562
val check by tasks.getting(Task::class) {
6663
// Run the functional tests as part of `check`
6764
dependsOn(functionalTest)
@@ -112,10 +109,3 @@ pluginBundle {
112109
}
113110
}
114111
}
115-
116-
//open class SystemProcess @Inject constructor(): DefaultTask() {
117-
// @TaskAction
118-
// fun runCommand() {
119-
// println("aSJKDLjSDKLsj: ${gradle.gradleHomeDir}")
120-
// }
121-
//}

src/functionalTest/kotlin/android_lint_reporter/AndroidLintReporterPluginFunctionalTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class AndroidLintReporterPluginFunctionalTest {
3636
}
3737
android_lint_reporter {
3838
lintFilePath = "${File("").absolutePath}/src/main/resources/lint-results.xml"
39-
githubUsername = "u-next"
40-
githubRepositoryName = "UNextAndroid"
39+
githubUsername = "worker8"
40+
githubRepositoryName = "SimpleCurrency"
4141
}
4242
""")
4343

src/main/kotlin/android_lint_reporter/AndroidLintReporterPlugin.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AndroidLintReporterPlugin : Plugin<Project> {
3030
val githubToken = projectProperties["githubToken"] as String
3131
val projectRootDir = if (DEBUG) {
3232
// replace this with your CI root environment for testing
33-
"/home/runner/work/UNextAndroid/UNextAndroid/"
33+
"/home/runner/work/SimpleCurrency/SimpleCurrency/"
3434
} else {
3535
project.rootProject.projectDir
3636
}
@@ -122,6 +122,7 @@ class AndroidLintReporterPlugin : Plugin<Project> {
122122
path = issue.location.file.replace("${projectRootDir}/", ""),
123123
commitId = lastCommitId
124124
).execute()
125+
125126
}
126127
} catch (e: Exception) {
127128
e.printStackTrace()

0 commit comments

Comments
 (0)