Page 910 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 910

delete  rootProject.buildDir

            }


            -buildgradle(app)
            오로지  어플리케이션을  빌드하기  위한  그래들이다.  안드로이드  플러그인과
            SDK의  버전  빌드  툴의  버전과  라이브러리의  설정을  할  수  있다.

            apply  plugin:  'com.android.application'


            //SDK와  빌드  툴의  버전을  정의해준다.
            android  {
                 compileSdkVersion  24

                 buildToolsVersion  "25.0.0"


                 defaultConfig {
                       applicationId  "app.intech.fcmpush"
                       minSdkVersion  15

                       targetSdkVersion  24
                       versionCode  1
                       versionName  "1.0"
                 }
                 buildTypes  {

                       release  {
                            minifyEnabled  false
                            proguardFiles getDefaultProguardFile('proguard-android.txt'),
            'proguard-rules.pro'
                       }

                 }
            }
            //  빌드를  하기  위한  라이브러리가  정의되어있다.
            dependencies  {
                 compile  fileTree(dir: 'libs',  include:  ['*.jar'])

                    testCompile  'junit:junit:4.12'
                    compile  'com.android.support:appcompat-v7:24.2.1’
            //FCM서비스는  꾸준히  업데이트  되므로  후에는  9.6.1보다  높은  버전을  사용해야한다.
                    compile  'com.google.firebase:firebase-messaging:9.6.1'
                    compile  'com.squareup.okhttp3:okhttp:3.2.0'

            }




                                                         -  903  -
   905   906   907   908   909   910   911   912   913   914   915