change project struct

master
hwf453 2 years ago
parent 7969249af4
commit e59b5ba9aa

@ -1,11 +1,10 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 33 compileSdk 34
buildToolsVersion '33.0.0'
defaultConfig { defaultConfig {
applicationId "com.example.administrator.zhapp" applicationId "com.example.administrator.zhapp"
minSdkVersion 24 minSdk 24
targetSdkVersion 33 targetSdk 34
versionCode 1 versionCode 1
versionName "2.2.6" versionName "2.2.6"
multiDexEnabled true multiDexEnabled true

@ -153,8 +153,11 @@ public class LoginActivity extends BaseActivity {
// SPUtils.put(this, Contans.KEY_WIFI_IP, "http://192.168.2.134:8082/"); // SPUtils.put(this, Contans.KEY_WIFI_IP, "http://192.168.2.134:8082/");
} }
et_use.setText("310673"); // et_use.setText("310673");
et_pwd.setText("Abcd@1234"); // et_pwd.setText("Abcd@1234");
// et_use.setText("FGTL01");
// et_pwd.setText("123");
} }
public void initData() { public void initData() {

@ -1,25 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
buildscript { id 'com.android.application' version '8.1.1' apply false
repositories { id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
google() }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.0'
}
}
allprojects {
repositories {
google()
jcenter()
maven {url "https://jitpack.io"}
maven {url 'https://maven.google.com'}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}

@ -1 +1,24 @@
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
jcenter()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter()
maven {url "https://jitpack.io"}
maven {url 'https://maven.google.com'}
}
}
include ':app' include ':app'
rootProject.name = "ZHDCSBSSXC"
Loading…
Cancel
Save