質問編集履歴
2
見やすさ
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
```
|
6
6
|
|
7
|
-
//build.grandle(project)
|
7
|
+
///build.grandle(project)
|
8
8
|
|
9
9
|
buildscript {
|
10
10
|
|
@@ -33,6 +33,124 @@
|
|
33
33
|
// in the individual module build.gradle files
|
34
34
|
|
35
35
|
}
|
36
|
+
|
37
|
+
}
|
38
|
+
|
39
|
+
```
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
```
|
44
|
+
|
45
|
+
///build.grandle(app)
|
46
|
+
|
47
|
+
plugins {
|
48
|
+
|
49
|
+
id 'com.android.application'
|
50
|
+
|
51
|
+
id 'kotlin-android'
|
52
|
+
|
53
|
+
id 'kotlin-kapt'
|
54
|
+
|
55
|
+
id 'realm-android'
|
56
|
+
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
android {
|
62
|
+
|
63
|
+
compileSdkVersion 29
|
64
|
+
|
65
|
+
compileOptions{
|
66
|
+
|
67
|
+
sourceCompatibility JavaVersion.VERSION_15//17まであった
|
68
|
+
|
69
|
+
targetCompatibility JavaVersion.VERSION_15//17まであった
|
70
|
+
|
71
|
+
}
|
72
|
+
|
73
|
+
buildToolsVersion "29.0.3"
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
defaultConfig {
|
78
|
+
|
79
|
+
vectorDrawables.useSupportLibrary = true//ペグタ形式
|
80
|
+
|
81
|
+
applicationId "com.example.myscheduler2"
|
82
|
+
|
83
|
+
minSdkVersion 19
|
84
|
+
|
85
|
+
targetSdkVersion 29
|
86
|
+
|
87
|
+
versionCode 1
|
88
|
+
|
89
|
+
versionName "1.0"
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
94
|
+
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
buildTypes {
|
100
|
+
|
101
|
+
release {
|
102
|
+
|
103
|
+
minifyEnabled false
|
104
|
+
|
105
|
+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
106
|
+
|
107
|
+
}
|
108
|
+
|
109
|
+
}
|
110
|
+
|
111
|
+
compileOptions {
|
112
|
+
|
113
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
114
|
+
|
115
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
116
|
+
|
117
|
+
}
|
118
|
+
|
119
|
+
kotlinOptions {
|
120
|
+
|
121
|
+
jvmTarget = '1.8'
|
122
|
+
|
123
|
+
}
|
124
|
+
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
dependencies {
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
implementation "io.realm:android-adapters:2.1.1"//このヴァーションもあれなのか?古いのか?
|
134
|
+
|
135
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
136
|
+
|
137
|
+
implementation 'androidx.core:core-ktx:1.3.2'
|
138
|
+
|
139
|
+
implementation 'androidx.appcompat:appcompat:1.2.0'
|
140
|
+
|
141
|
+
implementation 'com.google.android.material:material:1.2.1'
|
142
|
+
|
143
|
+
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
|
144
|
+
|
145
|
+
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.1'
|
146
|
+
|
147
|
+
implementation 'androidx.navigation:navigation-ui-ktx:2.3.1'
|
148
|
+
|
149
|
+
testImplementation 'junit:junit:4.+'
|
150
|
+
|
151
|
+
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
152
|
+
|
153
|
+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
36
154
|
|
37
155
|
}
|
38
156
|
|
1
誤植
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
```
|
6
|
+
|
5
|
-
|
7
|
+
//build.grandle(project)
|
6
8
|
|
7
9
|
buildscript {
|
8
10
|
|