This script will create a new project/module using a groupId and artifactId.
It will use the groupId and artifactId to best guess which configuration is most appropriate for the project/module you are creating.
./create_project.py androidx.foo foo-bar- [OWNERS] Check that the OWNERS file is in the correct place
- [OWNERS] Add your name (and others) to the OWNERS file
- [build.grade] Check that the correct library version is assigned
- [build.grade] Fill out the project/module name
- [package-info.java] Fill out the project/module package-info.java file
The script leverages buildSrc/public/src/main/kotlin/androidx/build/LibraryType.kt to create the recommended defaults for your project. However, you can override the options to best fit your requirements.
Generic project integration test
./create_project.py androidx.foo.bar bar-quxScript test suite
./test_project_creator.py