featherchen commented on issue #4266: URL: https://github.com/apache/gravitino/issues/4266#issuecomment-2274003854
> 1. It's a good idea to list some commonly used build options and combinations in the `kts` file. > > 2. Putting all build options in a conspicuous place like in the `build.kts` will be preferable as advanced user may has custom needs. > > > ``` > ### Define build options > commonlyUsedbuildOptions=( > "Only compile and skip the unit test and Integration test: ./gradlew clean build -x test" > "Only execute the unit test and skip Integration test: ./gradlew test -PskipITs" > "Run the integration tests in embedded mode: ./gradlew build -x test && ./gradlew test -PskipTests -PtestMode=embedded" > "Run the integration tests in deploy mode: ./gradlew build -x test && ./gradlew compileDistribution && ./gradlew test -PskipTests -PtestMode=deploy" > "Exit" > ) > > ### All build optional > > #### Test related > - skipITs > - skipDockerTests > - testMode > - jdbcBackend > > #### Complile and assemble > > - gradle compileDistribution > - gralde assemblyDistribution > > .... > ``` @yuqi1129 Thanks for the reply, so do you think we should offer all the combination of building options for the advance user to choose ? Won't it be too complicated to understand and does not match our goal of simplifying compilation ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
