Skip to content

Commit

Permalink
Gradle 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewX192 committed Nov 11, 2023
1 parent ca4002f commit a77637e
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions common/arcus-drivers/groovy-bindings/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ task generateIpcdSource(type: JavaExec) {

def outputDir = file(generatedSrcDir)
outputs.dir outputDir

main 'com.iris.protocol.ipcd.definition.generator.ModelGenerator'

doFirst {
outputDir.mkdirs()
println "Generating templates from $templateName..."
classpath configurations.generator.asPath.split(':')
args '-t', templateName, '-i', ipcdDefinitionFile, '-o', genSrcMain
main 'com.iris.protocol.ipcd.definition.generator.ModelGenerator'
}
}

Expand Down
4 changes: 2 additions & 2 deletions common/arcus-model/platform-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ task generateSource(type: JavaExec) {

def outputDir = file(generatedSrcDir)
outputs.dir outputDir

main 'com.iris.capability.generator.java.Generator'

doFirst {
delete(outputDir)
outputDir.mkdirs()
println "Generating templates from $templateName..."
classpath configurations.generator.asPath.split(':')
args '-t', templateName, '-i', capabilityDir, '-o', generatedSrcDir
main 'com.iris.capability.generator.java.Generator'
}
}

Expand Down
4 changes: 2 additions & 2 deletions common/arcus-model/platform-messages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ task generateSource(type: JavaExec) {

def outputDir = file(generatedSrcDir)
outputs.dir outputDir

main 'com.iris.capability.generator.java.Generator'

doFirst {
delete(outputDir)
outputDir.mkdirs()
println "Generating templates from $templateName..."
classpath configurations.generator.asPath.split(':')
args '-t', templateName, '-i', capabilityDir, internalCapabilityDir, '-o', generatedSrcDir
main 'com.iris.capability.generator.java.Generator'
}
}

Expand Down
12 changes: 6 additions & 6 deletions common/arcus-protocol/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ task generateSource(type: JavaExec) {

def outputDir = file(generatedSrcDir)
outputs.dir outputDir

main 'com.iris.capability.generator.java.Generator'

doFirst {
delete(outputDir)
outputDir.mkdirs()
Expand All @@ -196,7 +197,6 @@ task generateSource(type: JavaExec) {
println "Generating templates from $templateName..."
classpath configurations.generator.asPath.split(':')
args '-t', templateName, '-i', capabilityDir, '-o', generatedSrcDir
main 'com.iris.capability.generator.java.Generator'
}
}

Expand All @@ -206,12 +206,12 @@ task generateProtocolSource(type: JavaExec) {

def outputDir = file(generatedSrcDir)
outputs.dir outputDir

main 'com.iris.protocol.ipcd.definition.generator.ModelGenerator'

doFirst {
println "Generating templates from $ipcdTemplateName..."
classpath configurations.generator.asPath.split(':')
args '-t', ipcdTemplateName, '-i', ipcdDefinitionFile, '-o', generatedSrcDir
main 'com.iris.protocol.ipcd.definition.generator.ModelGenerator'
}
}

Expand All @@ -221,12 +221,12 @@ task generateAosAdapterSource(type: JavaExec) {

def outputDir = file(generatedSrcDir)
outputs.dir outputDir

main 'com.iris.protocol.ipcd.definition.generator.AosGenerator'

doFirst {
println "Generating templates from $ipcdTemplateName..."
classpath configurations.generator.asPath.split(':')
args '-t', aosTemplateName, '-i', aosDefinitionFile, '-o', generatedSrcDir
main 'com.iris.protocol.ipcd.definition.generator.AosGenerator'
}
}

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
3 changes: 3 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

Expand Down

0 comments on commit a77637e

Please sign in to comment.