build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 30
  4. defaultConfig {
  5. applicationId "com.example.socketdemo"
  6. minSdkVersion 16
  7. targetSdkVersion 30
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. implementation fileTree(dir: 'libs', include: ['*.jar'])
  21. // implementation 'androidx.appcompat:appcompat:1.1.0'
  22. // implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  23. // testimplementation 'junit:junit:4.12'
  24. // //ButterKnife注入
  25. // implementation 'com.jakewharton:butterknife:+'
  26. // annotationProcessor 'com.jakewharton:butterknife-compiler:+'
  27. //
  28. // //万能适配器(RecyclerView):https://github.com/hongyangAndroid/baseAdapter
  29. // implementation 'com.zhy:base-rvadapter:+'
  30. // implementation 'com.google.code.gson:gson:+'
  31. }