change project struct

master
hwf453 2 years ago
parent 7969249af4
commit e59b5ba9aa

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

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

@ -1,25 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
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
}
plugins {
id 'com.android.application' version '8.1.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
}

@ -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'
rootProject.name = "ZHDCSBSSXC"
Loading…
Cancel
Save