File tree 6 files changed +10
-12
lines changed
java/net/pters/learnopengl/android/scenes/inpractice/breakout
6 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ android {
37
37
}
38
38
39
39
dependencies {
40
- implementation ' androidx.appcompat:appcompat:1.3.0 '
41
- implementation ' androidx.core:core-ktx:1.5 .0'
40
+ implementation ' androidx.appcompat:appcompat:1.3.1 '
41
+ implementation ' androidx.core:core-ktx:1.6 .0'
42
42
implementation ' com.github.romainguy:kotlin-math:main'
43
- implementation ' com.google.android.material:material:1.3 .0'
43
+ implementation ' com.google.android.material:material:1.4 .0'
44
44
implementation ' de.javagl:obj:0.3.0'
45
45
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version "
46
46
}
Original file line number Diff line number Diff line change 13
13
android : label =" @string/app_name"
14
14
android : supportsRtl =" true"
15
15
android : theme =" @style/Theme.MaterialComponents.DayNight.DarkActionBar" >
16
- <activity android : name =" .view.ContentActivity" >
16
+ <activity
17
+ android : name =" .view.ContentActivity"
18
+ android : exported =" true" >
17
19
<intent-filter >
18
20
<action android : name =" android.intent.action.MAIN" />
19
21
<category android : name =" android.intent.category.LAUNCHER" />
Original file line number Diff line number Diff line change @@ -38,8 +38,4 @@ class Ball(
38
38
39
39
return position
40
40
}
41
-
42
- fun reset (position : Float2 , velocity : Float2 ) {
43
-
44
- }
45
41
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class ResourceManager(private val contextProvider: ContextProvider) {
12
12
13
13
private val programs = mutableMapOf<String , Program >()
14
14
15
- val sounds = mutableMapOf<String , MediaPlayer >()
15
+ private val sounds = mutableMapOf<String , MediaPlayer >()
16
16
17
17
private val textures = mutableMapOf<String , Texture >()
18
18
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
buildscript {
3
- ext. kotlin_version = ' 1.5.0 '
3
+ ext. kotlin_version = ' 1.5.21 '
4
4
5
5
repositories {
6
6
google()
7
7
mavenCentral()
8
8
}
9
9
10
10
dependencies {
11
- classpath ' com.android.tools.build:gradle:4.2.1 '
11
+ classpath ' com.android.tools.build:gradle:7.0.0 '
12
12
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
13
13
14
14
// NOTE: Do not place your application dependencies here; they belong
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7.1 -bin.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.0.2 -bin.zip
You can’t perform that action at this time.
0 commit comments