File tree 3 files changed +6
-2
lines changed
src/main/java/com/absinthe/rulesbundle
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services .gradle.org/distributions/gradle-7.6-bin.zip
3
+ distributionUrl =https\://downloads .gradle.org/distributions/gradle-7.6-bin.zip
4
4
networkTimeout =10000
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
apply plugin : ' kotlin-android'
3
+ apply plugin : ' kotlin-parcelize'
3
4
4
5
apply from : " ${ rootDir.path} /gradle/publish.gradle"
5
6
Original file line number Diff line number Diff line change 1
1
package com.absinthe.rulesbundle
2
2
3
+ import android.os.Parcelable
3
4
import androidx.annotation.DrawableRes
5
+ import kotlinx.parcelize.Parcelize
4
6
7
+ @Parcelize
5
8
data class Rule (
6
9
val label : String ,
7
10
@DrawableRes val iconRes : Int ,
8
11
val descriptionUrl : String? ,
9
12
val regexName : String? ,
10
13
val isSimpleColorIcon : Boolean
11
- )
14
+ ) : Parcelable
You can’t perform that action at this time.
0 commit comments