Skip to content

Commit

Permalink
upgrade gradle 8.3 intelliJ IDE
Browse files Browse the repository at this point in the history
Signed-off-by: Andres LeonRangel <[email protected]>
  • Loading branch information
aleon1220 committed Oct 10, 2023
1 parent f346264 commit 94c85fe
Show file tree
Hide file tree
Showing 11 changed files with 513 additions and 45 deletions.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 25 additions & 44 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent

/*
* This file was generated by the Gradle 'init' task
* This project uses @Incubating APIs which are subject to change
Expand All @@ -11,14 +9,15 @@ plugins {
// id ("com.adarshr.test-logger") version "3.0.0"
// https://docs.gradle.org/7.3/dsl/org.gradle.api.tasks.bundling.War.html
war
//wsdl
id("io.mateo.cxf-codegen") version "1.0.1"
id ("jacoco")
//wsdl
id("com.github.bjornvester.wsdl2java") version "2.0.2"
}

repositories {
gradlePluginPortal()
google()
mavenCentral()
gradlePluginPortal()
google()
mavenCentral()
}

dependencies {
Expand All @@ -35,18 +34,17 @@ dependencies {
implementation("javax.servlet:javax.servlet-api:3.1.0")
// https://mvnrepository.com/artifact/com.google.zxing/javase
implementation("com.google.zxing:javase:3.5.1")
// https://mvnrepository.com/artifact/com.google.zxing/core
implementation("com.google.zxing:core:3.5.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.0")
testImplementation("io.jsonwebtoken:jjwt:0.7.0")
implementation("org.apache.cxf:cxf-rt-frontend-jaxws:3.4.5")

// dependency below only needed if using the Java 8 version of @Generated (through "jdk8") on Java 9 or later
implementation("javax.annotation:javax.annotation-api:1.3.2")
}

group = "soa.nz.aut"
version = "0.0.1"
description = "Class Attendance WebApp"
description = "Student Attendance WebApp"
java.sourceCompatibility = JavaVersion.VERSION_1_8

tasks.war {
Expand All @@ -60,41 +58,24 @@ tasks.war {
}

tasks {
test {
reports {
html.isEnabled = true
junitXml.isEnabled = true
named<JacocoReport>("jacocoTestReport") {
reports {
}
}
test {
useJUnitPlatform()
testLogging.events = setOf(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
}
useJUnitPlatform()
testLogging.events = setOf(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
}
}

tasks.register<Test>("singleTest") {
group = "Verification"
description = "Runs a test to create a local QR code"
filter {
includeTestsMatching("utilities.TestQRFunctions.createQRCodeLocally")
}
group = "Verification"
description = "Runs a test to create a local QR code"
filter {
includeTestsMatching("utilities.TestQRFunctions.createQRCodeLocally")
}
}

// task{ utilities
// testlogger{
// setTheme("mocha")
// showExceptions=true
// showStackTraces=true
// }
// }
// afterEvaluate {
// tasks.getByName("run") {
// dependsOn("appRun")
// }
// }
// cxf {
// wsdl2java {
// // wsdl info about countries
// wsdl = "http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL"
// packageName = "org.example.countryinfo"
// outputDir = file("src/main/java")
// }
// }
// https://plugins.gradle.org/plugin/com.github.bjornvester.wsdl2java
wsdl2java {
// Set properties here...
}
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
#after upgrade run ./gradlew wrapper --gradle-version 8.3
Empty file modified gradlew
100644 → 100755
Empty file.
Loading

1 comment on commit 94c85fe

@aleon1220
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.