android / android-studio-poet

Large Android projects generator
Apache License 2.0
702 stars 85 forks source link

Upgrade most dependencies of the repo and the generated projects to the latest stable versions #150

Closed chao2zhang closed 2 years ago

chao2zhang commented 2 years ago

Summary

I tried to use Android Studio poet to compare the builds between data binding and Compose. However, the first step is to generate an Android project that builds. This PR fixes the first part to generate a modern Android project that builds.

Testing

I verified through opening the generated project in Android Studio Arctic Fox using the config below.

{
  "projectName": "GeneratedASProject",
  "root": "./../",
  "gradleVersion": "7.2",
  "androidGradlePluginVersion": "7.0.3",
  "kotlinVersion": "1.5.31",
  "numModules": "0",
  "allMethods": "100",
  "javaPackageCount": "0",
  "javaClassCount": "0",
  "javaMethodCount": "0",
  "kotlinPackageCount": "1",
  "kotlinClassCount": "10",
  "androidModules": "10",
  "numActivitiesPerAndroidModule": "1",
  "topologies": [
    {"type": "star", "seed": "2"}
  ],
  "dataBindingConfig": {
    "listenerCount": 1
  },
  "generateTests": true
}
borisf commented 2 years ago

Thanks