Skip to content

Commit

Permalink
upgrade to the latest aem gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-musallam committed Jul 1, 2019
1 parent 55a813a commit dbe7481
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 99 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -137,7 +137,6 @@ buildNumber.properties
### Gradle template
.gradle
build/
/gradle.properties

# Ignore Gradle GUI config
gradle-app.setting
Expand Down
23 changes: 1 addition & 22 deletions build.gradle.kts
Expand Up @@ -3,12 +3,10 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent

plugins {
id("com.cognifide.aem.bundle")
id("com.cognifide.aem.instance")
id("com.neva.fork")
}

description = "AEM Dialog Editor"
defaultTasks(":aemSatisfy", ":aemDeploy")
defaultTasks("packageDeploy")

group = "com.ahmedmusallam.aem"
version = "1.0.0-SNAPSHOT"
Expand All @@ -34,22 +32,3 @@ dependencies {

compileOnly("com.adobe.aem:uber-jar:6.4.0:obfuscated-apis")
}

tasks {
withType<Test>().configureEach {
failFast = true
useJUnitPlatform()
testLogging {
events = setOf(TestLogEvent.FAILED)
exceptionFormat = TestExceptionFormat.SHORT
}

dependencies {
"testImplementation"("org.junit.jupiter:junit-jupiter-api:5.3.2")
"testRuntimeOnly"("org.junit.jupiter:junit-jupiter-engine:5.3.2")
"testImplementation"("io.wcm:io.wcm.testing.aem-mock.junit5:2.3.2")
}
}
}

apply(from = "gradle/fork.gradle.kts")
3 changes: 1 addition & 2 deletions buildSrc/build.gradle.kts
Expand Up @@ -7,7 +7,6 @@ repositories {
}

dependencies {
implementation("com.cognifide.gradle:aem-plugin:6.3.0")
implementation("com.neva.gradle:fork-plugin:3.1.1")
implementation("com.cognifide.gradle:aem-plugin:7.0.2")
}

2 changes: 2 additions & 0 deletions gradle.properties
@@ -0,0 +1,2 @@
#instance.name="*-author"
instance.authors=true
46 changes: 0 additions & 46 deletions gradle/fork.gradle.kts

This file was deleted.

28 changes: 0 additions & 28 deletions gradle/fork/gradle.properties.peb

This file was deleted.

0 comments on commit dbe7481

Please sign in to comment.