-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
3a5757c
commit 39cd9c5
Showing
10 changed files
with
96 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,35 @@ | ||
plugins { | ||
id 'com.android.library' | ||
id 'kotlin-android' | ||
id "org.jetbrains.kotlin.jvm" | ||
id 'com.stepango.aar2jar' | ||
id 'java-library' | ||
} | ||
|
||
ext { | ||
groupId = 'com.github.kirich1409' | ||
artifactId = "viewbindingpropertydelegate-core" | ||
} | ||
|
||
apply from: rootProject.file('publishing.gradle') | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
buildToolsVersion rootProject.ext.buildToolsVersion | ||
|
||
defaultConfig { | ||
minSdkVersion rootProject.ext.minSdkVersion | ||
targetSdkVersion rootProject.ext.targetSdkVersion | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
// For Kotlin projects | ||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) { | ||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
kotlinOptions.freeCompilerArgs += | ||
['-module-name', "com.github.kirich1409.ViewBindingPropertyDelegate.core"] | ||
} | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
withSourcesJar() | ||
} | ||
|
||
dependencies { | ||
compileOnly rootProject.ext.dependencies.viewBinding | ||
implementation rootProject.ext.dependencies.lifecycleCommonJava8 | ||
compileOnlyAar rootProject.ext.dependencies.viewBinding | ||
implementationAar rootProject.ext.dependencies.lifecycleCommonJava8 | ||
implementationAar rootProject.ext.dependencies.lifecycleCommon | ||
compileOnly androidJar | ||
compileOnly rootProject.ext.dependencies.annotations | ||
} | ||
|
||
apply from: rootProject.file('publishing.gradle') |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,46 @@ | ||
plugins { | ||
id 'com.android.library' | ||
id 'kotlin-android' | ||
id 'java-library' | ||
id "org.jetbrains.kotlin.jvm" | ||
id 'com.stepango.aar2jar' | ||
} | ||
|
||
ext { | ||
groupId = 'com.github.kirich1409' | ||
artifactId = "viewbindingpropertydelegate" | ||
artifactId = "viewbindingpropertydelegate-full" | ||
} | ||
|
||
apply from: rootProject.file('publishing.gradle') | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
buildToolsVersion rootProject.ext.buildToolsVersion | ||
|
||
defaultConfig { | ||
minSdkVersion rootProject.ext.minSdkVersion | ||
targetSdkVersion rootProject.ext.targetSdkVersion | ||
|
||
consumerProguardFiles 'proguard-rules.pro' | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
//apply from: rootProject.file('publishing.gradle') | ||
|
||
// For Kotlin projects | ||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) { | ||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
kotlinOptions.freeCompilerArgs += | ||
['-module-name', "com.github.kirich1409.ViewBindingPropertyDelegate"] | ||
['-module-name', "com.github.kirich1409.ViewBindingPropertyDelegate.core"] | ||
} | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
withSourcesJar() | ||
} | ||
|
||
dependencies { | ||
implementation rootProject.ext.dependencies.coreKtx | ||
implementation rootProject.ext.dependencies.fragmentKtx | ||
compileOnly rootProject.ext.dependencies.viewBinding | ||
implementation rootProject.ext.dependencies.recyclerview | ||
implementationAar rootProject.ext.dependencies.coreKtx | ||
implementationAar rootProject.ext.dependencies.core | ||
implementationAar rootProject.ext.dependencies.fragmentKtx | ||
implementationAar rootProject.ext.dependencies.fragment | ||
compileOnlyAar rootProject.ext.dependencies.viewBinding | ||
implementationAar rootProject.ext.dependencies.lifecycleCommon | ||
implementationAar rootProject.ext.dependencies.recyclerview | ||
compileOnly rootProject.ext.dependencies.annotations | ||
compileOnlyAar rootProject.ext.dependencies.activity | ||
compileOnlyAar rootProject.ext.dependencies.savedstate | ||
compileOnlyAar rootProject.ext.dependencies.lifecycleViewmodel | ||
compileOnlyAar rootProject.ext.dependencies.lifecycleRuntime | ||
compileOnly androidJar | ||
api project(':vbpd:vbpd-noreflection') | ||
} | ||
|
||
apply from: rootProject.file('publishing.gradle') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,44 @@ | ||
plugins { | ||
id 'com.android.library' | ||
id 'kotlin-android' | ||
id "org.jetbrains.kotlin.jvm" | ||
id 'com.stepango.aar2jar' | ||
id 'java-library' | ||
} | ||
|
||
ext { | ||
groupId = 'com.github.kirich1409' | ||
artifactId = "viewbindingpropertydelegate-noreflection" | ||
} | ||
|
||
apply from: rootProject.file('publishing.gradle') | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
buildToolsVersion rootProject.ext.buildToolsVersion | ||
|
||
defaultConfig { | ||
minSdkVersion rootProject.ext.minSdkVersion | ||
targetSdkVersion rootProject.ext.targetSdkVersion | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
// For Kotlin projects | ||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) { | ||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
kotlinOptions.freeCompilerArgs += | ||
['-module-name', "com.github.kirich1409.ViewBindingPropertyDelegate.noreflection"] | ||
['-module-name', "com.github.kirich1409.ViewBindingPropertyDelegate.core"] | ||
} | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
withSourcesJar() | ||
} | ||
|
||
dependencies { | ||
implementation rootProject.ext.dependencies.coreKtx | ||
implementation rootProject.ext.dependencies.fragmentKtx | ||
compileOnly rootProject.ext.dependencies.viewBinding | ||
implementation rootProject.ext.dependencies.lifecycleCommonJava8 | ||
implementation rootProject.ext.dependencies.recyclerview | ||
implementationAar rootProject.ext.dependencies.coreKtx | ||
implementationAar rootProject.ext.dependencies.core | ||
implementationAar rootProject.ext.dependencies.fragmentKtx | ||
implementationAar rootProject.ext.dependencies.fragment | ||
compileOnlyAar rootProject.ext.dependencies.viewBinding | ||
implementationAar rootProject.ext.dependencies.lifecycleCommon | ||
implementationAar rootProject.ext.dependencies.recyclerview | ||
compileOnly rootProject.ext.dependencies.annotations | ||
compileOnlyAar rootProject.ext.dependencies.activity | ||
compileOnlyAar rootProject.ext.dependencies.savedstate | ||
compileOnlyAar rootProject.ext.dependencies.lifecycleViewmodel | ||
compileOnlyAar rootProject.ext.dependencies.lifecycleRuntime | ||
compileOnly androidJar | ||
api project(':vbpd:vbpd-core') | ||
} | ||
|
||
apply from: rootProject.file('publishing.gradle') |