File tree Expand file tree Collapse file tree
java/com.luojilab.share.runalone/application Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,3 +40,8 @@ dependencies {
4040 kapt ' com.luojilab.ddcomponent:router-anno-compiler:1.0.0'
4141 compile " org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version "
4242}
43+
44+ combuild {
45+ applicationName = ' com.luojilab.share.runalone.application.KotlinApplication'
46+ isRegisterCompoAuto = true
47+ }
Original file line number Diff line number Diff line change 33 package =" com.luojilab.share.kotlin" >
44
55 <application
6+ android : name =" com.luojilab.share.runalone.application.KotlinApplication"
67 android : allowBackup =" true"
78 android : supportsRtl =" true" >
89 <activity android : name =" .ShareMessageActivity" >
Original file line number Diff line number Diff line change 1+ package com.luojilab.share.runalone.application
2+
3+ import android.app.Application
4+
5+ /* *
6+ * Created by mrzhang on 2018/1/5.
7+ */
8+ class KotlinApplication : Application () {
9+
10+ override fun onCreate () {
11+ super .onCreate()
12+ }
13+
14+ }
You can’t perform that action at this time.
0 commit comments