質問編集履歴
1
build.gradleの情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -101,3 +101,89 @@
|
|
101
101
|
kotlin 1.1.51
|
102
102
|
|
103
103
|
ファイルはすべてktファイル
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
###追記
|
112
|
+
|
113
|
+
appのbuild.gradleは以下のようになっております。
|
114
|
+
|
115
|
+
```kotlin
|
116
|
+
|
117
|
+
apply plugin: 'com.android.application'
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
apply plugin: 'kotlin-android'
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
apply plugin: 'kotlin-android-extensions'
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
android {
|
130
|
+
|
131
|
+
compileSdkVersion 26
|
132
|
+
|
133
|
+
defaultConfig {
|
134
|
+
|
135
|
+
applicationId "jp.co.XXXX.trialapp"
|
136
|
+
|
137
|
+
minSdkVersion 16
|
138
|
+
|
139
|
+
targetSdkVersion 26
|
140
|
+
|
141
|
+
versionCode 1
|
142
|
+
|
143
|
+
versionName "1.0"
|
144
|
+
|
145
|
+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
146
|
+
|
147
|
+
}
|
148
|
+
|
149
|
+
buildTypes {
|
150
|
+
|
151
|
+
release {
|
152
|
+
|
153
|
+
minifyEnabled false
|
154
|
+
|
155
|
+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
156
|
+
|
157
|
+
}
|
158
|
+
|
159
|
+
}
|
160
|
+
|
161
|
+
}
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
dependencies {
|
166
|
+
|
167
|
+
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
168
|
+
|
169
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
170
|
+
|
171
|
+
implementation 'com.android.support:appcompat-v7:26.1.0'
|
172
|
+
|
173
|
+
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
174
|
+
|
175
|
+
implementation 'com.android.support:design:26.1.0'
|
176
|
+
|
177
|
+
testImplementation 'junit:junit:4.12'
|
178
|
+
|
179
|
+
androidTestImplementation 'com.android.support.test:runner:1.0.1'
|
180
|
+
|
181
|
+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
|
182
|
+
|
183
|
+
//compile project(':socketclientlib')
|
184
|
+
|
185
|
+
implementation project(path: ':socketclientlib')
|
186
|
+
|
187
|
+
}
|
188
|
+
|
189
|
+
```
|