File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ buildscript {
44 kotlin_version = ' 1.4.20'
55 }
66 ext. myintent_pkg = " pl.mareklangiewicz.myintent"
7- ext. myintent_name = " 1.0.9 -alpha"
8- ext. myintent_code = 9
7+ ext. myintent_name = " 1.0.10 -alpha"
8+ ext. myintent_code = 10
99
1010 repositories {
1111 google()
Original file line number Diff line number Diff line change 11plugins {
22 id ' java-library'
33 id ' kotlin'
4+ id ' maven'
45}
56
7+ group= ' com.github.langara'
8+
69java {
710 sourceCompatibility = JavaVersion . VERSION_1_7
811 targetCompatibility = JavaVersion . VERSION_1_7
@@ -12,4 +15,14 @@ dependencies {
1215 implementation Deps . kotlinStdlib
1316 implementation Deps . junit4
1417 implementation Deps . googleTruth
15- }
18+ }
19+
20+ // build a jar with source files
21+ task sourcesJar (type : Jar ) {
22+ from sourceSets. main. java. srcDirs
23+ classifier = ' sources'
24+ }
25+
26+ artifacts {
27+ archives sourcesJar
28+ }
You can’t perform that action at this time.
0 commit comments