Skip to content

Commit

Permalink
Clean up build file for asciidoctor.js (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysb33r committed Apr 22, 2019
1 parent 2cd2b42 commit 1823351
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 63 deletions.
62 changes: 0 additions & 62 deletions asciidoctor-gradle-js/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,70 +40,8 @@ configurePlugin 'org.asciidoctor.js.convert',

test {
systemProperties ROOT_PROJECT_DIR: rootProject.projectDir.absolutePath
// systemProperties TEST_THEMES_DIR: file('src/test/resources/themes')
}

intTest {
systemProperties TEST_PROJECTS_DIR: file('src/intTest/projects')
}

//gradleTest {
//
// gradleArguments '-i', '-s'
//}

// Adding a third test set so that remote execution can be tested using a separate classpath
// and conditions
//sourceSets {
// remoteTest {
// compileClasspath = sourceSets.main.output + configurations.remoteTestCompile
// runtimeClasspath = output + compileClasspath + configurations.remoteTestRuntime
// }
//}

//dependencies {
// remoteTestCompile "org.asciidoctor:asciidoctorj:${compileOnlyAsciidoctorJVersion}"
// remoteTestCompile project(':testfixtures-jvm')
// remoteTestRuntime "org.asciidoctor:asciidoctorj-groovy-dsl:${compileOnlyGroovyDslVersion}", {
// exclude module: 'groovy-all'
// }
//}

//task remoteTest(type: Test) {
// description = "Run tests for the remote-execution code"
// group = "verification"
//
// mustRunAfter "test"
// inputs.files sourceSets.main.output.classesDirs
// inputs.files sourceSets.main.output.resourcesDir
//
// testClassesDirs = sourceSets.remoteTest.output.classesDirs
// classpath = sourceSets.remoteTest.runtimeClasspath
//
// dependsOn ':testfixtures-offline-repo:buildOfflineRepositories'
// systemProperties OFFLINE_REPO: offlineRepoRoot.absolutePath
//}
//
//check {
// dependsOn remoteTest
//}
//
//pluginManager.withPlugin('jacoco') {
// jacocoTestReport {
// executionData remoteTest
// mustRunAfter remoteTest
// }
//}
//
//// This makes it easier to edit the projects in IntelliJ
//sourceSets {
// gradleTestProjectExtension {
// groovy {
// srcDirs = ['src/gradleTest/extension-in-subproject/extension/src/main/groovy']
// }
// }
//}
//
//configurations {
// gradleTestProjectExtensionCompileOnly.extendsFrom compileOnly
//}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ allprojects {
]

withoutCodeCoverage = [
'asciidoctorj-gradle-base'
// 'asciidoctorj-gradle-base'
]
}
}
Expand Down

0 comments on commit 1823351

Please sign in to comment.