質問編集履歴

2

android studioのバージョンを追加しました

2021/02/13 12:50

投稿

tanaso0426
tanaso0426

スコア0

test CHANGED
File without changes
test CHANGED
@@ -241,3 +241,5 @@
241
241
  SDK Platforms Android 7.1.1(API Level 25)
242
242
 
243
243
  Google Play services (ver49)
244
+
245
+ Android Studio (ver4.1.2)

1

ソースコード載せ忘れていました

2021/02/13 12:49

投稿

tanaso0426
tanaso0426

スコア0

test CHANGED
File without changes
test CHANGED
@@ -52,7 +52,165 @@
52
52
 
53
53
  ```ここに言語名を入力
54
54
 
55
+ ■build.gradle
56
+
57
+
58
+
59
+ apply plugin: 'com.android.application'
60
+
61
+ apply plugin: 'kotlin-android'
62
+
63
+ apply plugin: 'realm-android'
64
+
65
+ apply plugin: 'com.cookpad.android.licensetools'
66
+
67
+ apply plugin: 'com.google.gms.google-services'
68
+
69
+ apply plugin: 'me.tatarka.retrolambda'
70
+
71
+ apply plugin: 'kotlin-kapt'
72
+
73
+
74
+
75
+ android {
76
+
77
+ compileSdkVersion 25
78
+
79
+ buildToolsVersion "25.0.2"
80
+
81
+
82
+
83
+ defaultConfig {
84
+
85
+ applicationId "net.nashihara.naroureader"
86
+
87
+ minSdkVersion 18
88
+
89
+ targetSdkVersion 25
90
+
91
+ versionCode 10
92
+
93
+ versionName "1.2.5"
94
+
95
+ }
96
+
97
+ buildTypes {
98
+
99
+ release {
100
+
101
+ minifyEnabled false
102
+
103
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
104
+
105
+ }
106
+
107
+ }
108
+
109
+ dataBinding {
110
+
111
+ enabled = true
112
+
113
+ }
114
+
115
+ compileOptions {
116
+
117
+ sourceCompatibility JavaVersion.VERSION_1_8
118
+
119
+ targetCompatibility JavaVersion.VERSION_1_8
120
+
121
+ }
122
+
123
+ packagingOptions {
124
+
125
+ exclude 'META-INF/LICENSE'
126
+
127
+ }
128
+
129
+ sourceSets {
130
+
131
+ main.java.srcDirs += 'src/main/kotlin'
132
+
133
+ }
134
+
135
+ }
136
+
137
+
138
+
139
+ kotlin {
140
+
141
+ experimental {
142
+
143
+ coroutines "enable"
144
+
145
+ }
146
+
147
+ }
148
+
149
+
150
+
151
+ repositories {
152
+
55
- Java
153
+ maven {
154
+
155
+ url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo'
156
+
157
+ }
158
+
159
+ mavenCentral()
160
+
161
+ }
162
+
163
+
164
+
165
+ dependencies {
166
+
167
+ compile fileTree(dir: 'libs', include: ['*.jar'])
168
+
169
+ testCompile 'junit:junit:4.12'
170
+
171
+
172
+
173
+ compile 'com.android.support:appcompat-v7:25.3.1'
174
+
175
+ compile 'com.android.support:support-v4:25.3.1'
176
+
177
+ compile 'com.android.support:design:25.3.1'
178
+
179
+ compile 'com.android.support:preference-v7:25.3.1'
180
+
181
+ compile 'com.android.support:preference-v14:25.3.1'
182
+
183
+ compile 'com.android.support:cardview-v7:25.3.1'
184
+
185
+ compile 'com.google.firebase:firebase-crash:10.0.1'
186
+
187
+ compile 'com.balysv.materialmenu:material-menu-toolbar:1.5.4'
188
+
189
+ compile 'net.nashihara:narou4j:1.2.6'
190
+
191
+ compile 'com.pavelsikun:vintage-chroma:1.5'
192
+
193
+ compile 'com.google.code.gson:gson:2.8.1'
194
+
195
+
196
+
197
+ retrolambdaConfig 'net.orfjackal.retrolambda:retrolambda:2.3.0'
198
+
199
+ compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
200
+
201
+ kapt 'com.android.databinding:compiler:2.3.1'
202
+
203
+
204
+
205
+ compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.2-4"
206
+
207
+ compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.16"
208
+
209
+ compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.16"
210
+
211
+ }
212
+
213
+
56
214
 
57
215
  ```
58
216