build.gradle 3.38 KB
Newer Older
Lee Jaebin committed
1 2 3 4 5 6 7 8
buildscript {
    repositories {
        jcenter()
    }
}
apply plugin: 'com.android.library'

android {
9
    compileSdkVersion 33
Lee Jaebin committed
10 11

    defaultConfig {
12
        minSdkVersion 23
13
        targetSdkVersion 33
Lee Jaebin committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
        //abvEnvironments
        resValue("string", "acms_address", "${acms_address}")
        resValue("string", "download_server_address", "${download_server_address}")
        resValue("string", "websocket_server_http_url", "${websocket_server_http_url}")
        resValue("string", "websocket_server_ws_url", "${websocket_server_ws_url}")
        resValue("bool", "websocket_debug", "${websocket_debug}")
        resValue("string", "google_public_key1", "${google_public_key1}")
        resValue("string", "google_public_key2", "${google_public_key2}")
        resValue("string", "google_public_key3", "${google_public_key3}")
        resValue("string", "app_name", "${app_name}")
        resValue("bool", "keep_screen", "${keep_screen}")
        resValue("string", "scheme_url", "${scheme_url}")
        resValue("bool", "store_version", "${store_version}")
        resValue("integer", "product_code", "${product_code}")
        resValue("bool", "use_cache", "${use_cache}")
        resValue("integer", "cache_size", "${cache_size}")
        resValue("bool", "content_protected", "${content_protected}")
        resValue("bool", "pdf_thumbnail_output", "${pdf_thumbnail_output}")
        resValue("bool", "pdf_image_output", "${pdf_image_output}")
        resValue("integer", "content_refresh_interval", "${content_refresh_interval}")
        resValue("integer", "meeting_reenter_alert", "${meeting_reenter_alert}")
        resValue("integer", "min_page_log_second", "${min_page_log_second}")
        resValue("bool", "follow_service_option", "${follow_service_option}")
        resValue("bool", "is_check_invalid_passward_limit", "${is_check_invalid_passward_limit}")
        resValue("bool", "repeat_default", "${repeat_default}")
        resValue("string", "version_name", "${version_name}")
        resValue("string", "release_date", "${release_date}")
        resValue("string", "copy_right", "${copy_right}")
        resValue("string", "hope_page", "${hope_page}")
        resValue("string", "contact_email", "${contact_email}")
        resValue("integer", "log_level", "${log_level}")
        resValue("string", "default_log_name", "${default_log_name}")
        resValue("integer", "error_report_flg", "${error_report_flg}")
        resValue("string", "error_report_email", "${error_report_email}")
        resValue("integer", "app_log_retention", "${app_log_retention}")
        resValue("bool", "hprof", "${hprof}")
        resValue("string", "repository_fqdn", "${repository_fqdn}")

        //abvFunctionOptions
        resValue("integer", "login_mode", "${login_mode}")
        resValue("string", "account_path", "${account_path}")
        resValue("integer", "push_message", "${push_message}")
        resValue("integer", "check_app_update", "${check_app_update}")
        resValue("integer", "not_delete_all_contents", "${not_delete_all_contents}")
    }
    sourceSets {
        main {
            manifest.srcFile './AndroidManifest.xml'
            java.srcDir './src'
            resources.srcDir './res'
            res.srcDir 'res'
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}